Hi, I'm using the recipientList to pass *timetoLive *option dynamically. The issue I'm facing is that the consumer does send a replyTo, if I use a recipientList . If I use a static URL, it sends back a replyTo the queue. How do I get around this?
*The route below does not produce a replyTo* =====Producer========== from("direct:ctsJMSProducerRoute").id("c tsJMSProducerRoute") .recipientList(simple("jms:queue:ctsCamelQueue?replyTo=ctsReplyQueue&replyToType=Shared&concurrentConsumers=10&requestTimeout=50000&timeToLive=${in.headers."+JMSConstants.TIME_TO_LIVE+"}")).setExchangePattern(ExchangePattern.InOnly) .end(); *The route below produces a replyTo without recipientList* ===== Producer========== from("direct:ctsJMSProducerRoute").id("ctsJMSProducerRoute") .to(ExchangePattern.InOnly,"jms:queue:ctsCamelQueue?replyTo=ctsReplyQueue&replyToType=Shared&concurrentConsumers=10&requestTimeout=50000&timetoLive =30000") .end(); =====Consumer======== from("jms:queue:ctsCamelQueue?replyTo=ctsReplyQueue&replyToType=Shared&transacted=false&requestTimeout=60000").setExchangePattern(ExchangePattern.InOut) -- View this message in context: http://camel.465427.n5.nabble.com/camel-jms-2-14-0-option-validation-on-startup-from-an-expression-tp5757289p5758317.html Sent from the Camel - Users mailing list archive at Nabble.com.