JBoss Community

Re: consume message inside a QueueBrowser loop

created by everson . in JBoss Messaging - View the full discussion

MessageConsumer consumer = session.createConsumer(queue, "JMSMessageID="+objectMessage.getJMSMessageID());

 

I forgot

 

connection.start()

Message message = consumer.receive();

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community