Using Camel 2.16.0
We are trying to configure a request/response using JMS topics as both the
request and reply destinations. This is the route where we are seeing an
issue:
rest("/apply")
.get("applicant/{id}")
.to("jms:topic:T.Applicant?replyTo=topic:T.CreateApplicantResponse");
The are some other topics/queues configured but the ultimate destination
does receive the request and is able to send the reply.
The route shown above does receive the expected response, so everything
works with one small exception. When monitoring Tibco EMS we see that the
response goes on a *queue* with the name T.CreateApplicantResponse and not
a topic. It appears that the "topic:" prefix in the replyTo is either being
ignored or we are not specifying a topic correctly.
After some investigation into the Camel source code I see that in
org.apache.camel.component.jms.JmsProducer createReplyManager() method the
ReplyManager is hard-coded to use a QueueReplyManager (there is no
TopicReplyManager class as far as I can tell.)
I see some posts on this forum that suggest that topics for replyTo
destinations has been implemented but, I may be interpreting them
incorrectly.
Should I be able to use a topic as a JMS replyTo? If so, please advise on
how to configure.
This is our first major effort using camel and we are very pleased with it
thus far.
Thank you.
--
View this message in context:
http://camel.465427.n5.nabble.com/JMS-replyTo-always-on-Queue-ignores-topic-in-dest-param-tp5773459.html
Sent from the Camel - Users mailing list archive at Nabble.com.