Hi all,
from the documentation I saw that when within a Camel route I send a msg on
a jms destination, with either a replyTo option set or specifying the MEP as
InOut, Camel will then instantiate a jms listener to listen to that
JMSReplyTo dest.
So far so good, at least if that is correct. My point now is, how can I
control that listener, I mean when a msg is delivered to my replyTo dest,
and the listener receives it, how can I get hold of that msg?
On slightly different note, how would you implement a scenario where a
dynamic replyTo should be used? I mean from here
<http://camel.465427.n5.nabble.com/set-jms-reply-to-in-message-header-td4420767.html>
I got to know that Camel, and with good reason, does not implement that
feature, but it seems to me that the replyTo is meaningless then.
If I want to send a msg using a Rest PUT, where a camel rest consumer would
read it, pass to a processor, and then sent a response back to myself on a
destination specified by the JMSReplyTo, how'd go with this?
Hopefully all is clear enough.
Kind regards,
Ettore.
from the documentation I saw that when within a Camel route I send a msg on
a jms destination, with either a replyTo option set or specifying the MEP as
InOut, Camel will then instantiate a jms listener to listen to that
JMSReplyTo dest.
So far so good, at least if that is correct. My point now is, how can I
control that listener, I mean when a msg is delivered to my replyTo dest,
and the listener receives it, how can I get hold of that msg?
On slightly different note, how would you implement a scenario where a
dynamic replyTo should be used? I mean from here
<http://camel.465427.n5.nabble.com/set-jms-reply-to-in-message-header-td4420767.html>
I got to know that Camel, and with good reason, does not implement that
feature, but it seems to me that the replyTo is meaningless then.
If I want to send a msg using a Rest PUT, where a camel rest consumer would
read it, pass to a processor, and then sent a response back to myself on a
destination specified by the JMSReplyTo, how'd go with this?
Hopefully all is clear enough.
Kind regards,
Ettore.