hi,
I use a Client with the QueueBrowse function to read the DLQ.
And I have no Problems, her a pice of my code (from a swing client):

  |             try {
  |                     QueueConnection 
qc=de.intermoves.pbseasyzds.admin.Session.getJMSQueueConnection();
  |                     Queue 
jmsq=de.intermoves.pbseasyzds.admin.Session.getJMSQueue(queueName);
  |                     QueueSession session = 
qc.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE);
  |                     
  |                     DefaultListModel model=new DefaultListModel();
  |                     for(Enumeration 
e=session.createBrowser(jmsq).getEnumeration();e.hasMoreElements();){
  |                             Message msg=(Message)e.nextElement();
  |                             model.addElement(msg);
  |                     }
  |                     this.queueEntries.setModel(model);
  |                     
  |                     session.close();
  |                     qc.close();
  |             }catch(JMSException e) {
  |                     log4j.error("Fehler JMS",e);
  |             }catch(NamingException e) {
  |                     log4j.error("Fehler JNDI",e);
  |             }
  | 

in which way you read the DLQ entries?

Wolf

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852776#3852776

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852776


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to