I am using the SJMS component and I have configured the endpoint uri
"sjms:queue:foo?ttl=5000" in my route. Using ActiveMq as the broker but the
message never expires as expected after 5 seconds.
   from("dirext:start").to("sjms:queue:foo?ttl=5000")


Note, using the same broker with the JMS component and I set the time to
live on the component when crating the camel context, and this works fine.
      JmsComponent component =
JmsComponent.jmsComponentClientAcknowledge(factory);
      component.setTimeToLive(5000);

Am I doing something wrong with SJMS or is this a bug?

Thanks for the help,
Kevin



--
View this message in context: 
http://camel.465427.n5.nabble.com/sjms-component-ttl-does-not-seem-to-work-tp5747604.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to