[jboss-user] [JBoss Messaging] - Re: consume message inside a QueueBrowser loop

everson . do-not-reply at jboss.com
Sun Oct 23 13:02:36 EDT 2011


everson . [http://community.jboss.org/people/everjava] created the discussion

"Re: consume message inside a QueueBrowser loop"

To view the discussion, visit: http://community.jboss.org/message/633170#633170

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

I forgot

*connection.start()*
Message message = consumer.receive();
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/633170#633170]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111023/c44a3203/attachment.html 


More information about the jboss-user mailing list