[esb-users] Re: JBoss Hello World quickstart - in RequestReply mode
Open Sourcer
sreenigv_opensourceuser at yahoo.com
Tue Feb 10 12:40:36 EST 2009
If this a known problem or if an issue is already filed for this please let me know.
All I want to do is a request response action using JMS in JBOSS ESB. Any help is appreciated.
Thanks
Sreeni
________________________________
From: Open Sourcer <sreenigv_opensourceuser at yahoo.com>
To: esb-users at lists.jboss.org
Sent: Sunday, February 8, 2009 4:22:40 PM
Subject: JBoss Hello World quickstart - in RequestReply mode
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/20090210/86565fb7/attachment.html
More information about the esb-users
mailing list