[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Some more comments on examples so far

gaohoward do-not-reply at jboss.com
Thu Apr 2 06:13:03 EDT 2009


anonymous wrote : I don't think this is very clear still. It would be better to handle the request and send back the response using a message listener, then you can send and consume several messages without having to do everything on the same thread.

Agree, using a message listener is more meaningful.

anonymous wrote : Also setting the JMSCorrelationID when sending the request doesn't make sense to me. It only needs to be set when sending the response back.

Yes the ID is used to indicate which message the reply messages is for which request message. If not set it will be null.




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

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



More information about the jboss-dev-forums mailing list