You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Eric East <ea...@yahoo.com> on 2013/05/30 01:21:02 UTC

consumer.retroactive=true when using activemq

Is this available for a camel routes when using activemq?  

camel route:  from("activemq:topic:sometopic.a?consumer.retroactive=true")

If not, is there a workaround to leverage the activemq retroactive
consumers?

I noticed a jira from 2010 that said this was not available.

Thanks



--
View this message in context: http://camel.465427.n5.nabble.com/consumer-retroactive-true-when-using-activemq-tp5733440.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: consumer.retroactive=true when using activemq

Posted by Marc Blomquist <ma...@gmail.com>.
Claus,

We can't seem to get retroactive to work.

We have activemq-camel version 5.7.0, activemq-core 5.7.0 and camel-core
2.10.3 (we're using Servicemix 4.5.1 so we're testing with versions of
activemq and camel that are similar to Servicemix 4.5.1)

We start producer A first (a topic).

Send a few messages to A.

Wait a few seconds.

Start consumer B with consumer.retroactive=true but B receives no messages!

We even tried destination.consumer.retroactive but all that did was throw an
error saying it doesn't understand that argument.

We set the fixed size recovery policy to 1024 in the activemq configuration
xml.

We know the routes are working since if we send a message after B is up B
receives the messages.

What are we missing? Did we misunderstand what retroactive does? Isn't it
suppose to fetch old messages up to the recovery policy on first connect of
a consumer?



--
View this message in context: http://camel.465427.n5.nabble.com/consumer-retroactive-true-when-using-activemq-tp5733440p5746465.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: consumer.retroactive=true when using activemq

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

See this page
http://camel.apache.org/activemq

At the section: Using ActiveMQ Destination Options

On Thu, May 30, 2013 at 1:21 AM, Eric East <ea...@yahoo.com> wrote:
> Is this available for a camel routes when using activemq?
>
> camel route:  from("activemq:topic:sometopic.a?consumer.retroactive=true")
>
> If not, is there a workaround to leverage the activemq retroactive
> consumers?
>
> I noticed a jira from 2010 that said this was not available.
>
> Thanks
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/consumer-retroactive-true-when-using-activemq-tp5733440.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen