setJmsReplyTo() is not evaluated in a Request-Response-Scenario. JbossESB assumes the response gateway queue being named <request_queue_name>_reply (see Programmers Guide, pg. 29) . If you need a different queue or let the client specify the response queue set, use a JMSRouter-Action.

 

Regards,

 

Niels

 

Von: esb-users-bounces@lists.jboss.org [mailto:esb-users-bounces@lists.jboss.org] Im Auftrag von Open Sourcer
Gesendet: Dienstag, 10. Februar 2009 18:41
An: esb-users@lists.jboss.org
Betreff: [esb-users] Re: JBoss Hello World quickstart - in RequestReply mode

 

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@yahoo.com>
To: esb-users@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

 

 

Please take time to visit our website at www.airpas.com to find out more about our products and services.

 

--------------------------------------------------------------

 

Diese E-Mail kann vertrauliche und/oder rechtlich geschutzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtumlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

 

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.