[esb-users] JBoss Hello World quickstart - in RequestReply mode

Open Sourcer sreenigv_opensourceuser at yahoo.com
Sun Feb 8 19:22:40 EST 2009


Hi , 

   I am new to JBOSS ESB. I am using quickstart to speed up the learning. The examples in 
quickstart  with respect to JMS seems to be OneWay requests. I would like to tryout RequestResponse MEP 
action scenario using a non ESB aware JMS client. 

So in the JMS Message sent, I am setting setJMSReplyTo();

code snippet.:

ObjectMessage tm = session.createObjectMessage(msg);
tm.setJMSReplyTo(receiveQueue);

Is this the right  way to set Reply address from client ( outside of ESB)
 for the action to send the reply back. 

I tried this and it does not seem to work. In the action I am printing out 
the replyTo EPR from message header and see the replyTo EPR is set null.

System.out.println(" Reply to - "+message.getHeader().getCall().getReplyTo());
is returning null.

Thanks
Sreeni


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/esb-users/attachments/20090208/3fd3fa5f/attachment.html 


More information about the esb-users mailing list