You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Tomas Martišius <to...@xn--martiiai-9wb.lt> on 2022/03/03 13:40:30 UTC

Issues with replyToOverride JMS component option.

Hello,

I am using camel (3.14.0) with Artemis and camel jms component. And I 
need to set explicit ReplyTo destination for replay messages. So setting 
this option makes a job, on consumer I get a message with destination 
set as expected in message headers: 
JMSReplyTo=ActiveMQQueue[temporaryinqueue.e4f270d1-465d-4cfc-85fb-16055de7bc97], 
and consumer replays as expected to this destination.

But on producer side this replyToOverride is ignored and Exchange gives 
me errors as it expects replay still on camel generated temporary queue:

TemporaryQueueReplyManager   : Timeout occurred after 20000 millis 
waiting for reply message with correlationID 
[Camel-ECA5653F79AAA28-00000000000000B9] on destination 
ActiveMQTemporaryQueue[b95c2747-e162-48d6-907e-844e52204fc7]. Setting 
ExchangeTimedOutException on (MessageId: 
ECA5653F79AAA28-00000000000000BB on ExchangeId: 
ECA5653F79AAA28-00000000000000BB) and continue routing.

Is it possible to solve this issue by setting somehow temporary 
destination name for received response on producer side?

Thanks.

Best regards, Tomas