What Camel version do you use?
On Thu, Feb 20, 2014 at 1:24 AM, kevin <kwit...@sonatype.com> wrote: > 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. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io