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
"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