You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by cwilliamy2k <cw...@yahoo.com> on 2009/06/10 03:23:52 UTC

Need help on using ReplyTo jms option

Hi, i have just started to use camel recently. But I'm having problem with
setting some of the jms options. 
I am confuse what to pass to the replyTo option. Can I pass in an jms
endpoint?
for eg. ...?replyTo=queue:<jms_endpoint_id>
In addition, I would appreciate if someone can tell me how the replyTo
option behave?
Can anyone point to me a full example of using the replyTo jms option?

Thank you very much.


-- 
View this message in context: http://www.nabble.com/Need-help-on-using-ReplyTo-jms-option-tp23954059p23954059.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Need help on using ReplyTo jms option

Posted by cwilliamy2k <cw...@yahoo.com>.
Thanks for the reply. I think I have a better understanding right now and
will start trying...thanks again :)


Claus Ibsen-2 wrote:
> 
> Hi
> 
> JMSReplyTo is a feature in JMS so you can also google and read about
> it in general.
> 
> It is used to specify a destination name in which a receiver can send
> back a reply to the original sender.
> As JMS is async you kinda like the regular postal service have to
> write a postal adr. the receiver can send a letter back to.
> 
> ActiveMQ supports creating temporary queues on the fly if you do a
> request/response message in Camel.
> Then Camel will set a JMSReplyTo automatic and wait for the response.
> 
> So you only use it if you for instance have a static reply queue you
> want to use a reply destination.
> 
> You can look at the Camel JMS documentation at:
> http://camel.apache.org/jms.html
> 
> 
> 
> On Wed, Jun 10, 2009 at 3:23 AM, cwilliamy2k<cw...@yahoo.com> wrote:
>>
>> Hi, i have just started to use camel recently. But I'm having problem
>> with
>> setting some of the jms options.
>> I am confuse what to pass to the replyTo option. Can I pass in an jms
>> endpoint?
>> for eg. ...?replyTo=queue:<jms_endpoint_id>
>> In addition, I would appreciate if someone can tell me how the replyTo
>> option behave?
>> Can anyone point to me a full example of using the replyTo jms option?
>>
>> Thank you very much.
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Need-help-on-using-ReplyTo-jms-option-tp23954059p23954059.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

-- 
View this message in context: http://www.nabble.com/Need-help-on-using-ReplyTo-jms-option-tp23954059p23976958.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Need help on using ReplyTo jms option

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

JMSReplyTo is a feature in JMS so you can also google and read about
it in general.

It is used to specify a destination name in which a receiver can send
back a reply to the original sender.
As JMS is async you kinda like the regular postal service have to
write a postal adr. the receiver can send a letter back to.

ActiveMQ supports creating temporary queues on the fly if you do a
request/response message in Camel.
Then Camel will set a JMSReplyTo automatic and wait for the response.

So you only use it if you for instance have a static reply queue you
want to use a reply destination.

You can look at the Camel JMS documentation at:
http://camel.apache.org/jms.html



On Wed, Jun 10, 2009 at 3:23 AM, cwilliamy2k<cw...@yahoo.com> wrote:
>
> Hi, i have just started to use camel recently. But I'm having problem with
> setting some of the jms options.
> I am confuse what to pass to the replyTo option. Can I pass in an jms
> endpoint?
> for eg. ...?replyTo=queue:<jms_endpoint_id>
> In addition, I would appreciate if someone can tell me how the replyTo
> option behave?
> Can anyone point to me a full example of using the replyTo jms option?
>
> Thank you very much.
>
>
> --
> View this message in context: http://www.nabble.com/Need-help-on-using-ReplyTo-jms-option-tp23954059p23954059.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus