mrlalonde wrote:
>
>
> I think you are on the right track with thoughts on polled endpoints.
> I you are looking to consume messages when a state changes, you could
> generate application events when that happens and use a pollEnrich(...)
> eip.
>
> Something like:
>
> from("spring-event://default").pollEnrich("activemq:queue:foo").process(...)...
>
> You could use a timer endpoint instead of an application event if you want
> to poll based on a schedule.
>
>
Thanks Mathieu, I have been on the road for past few days. I will try out
this approach and see how it goes.
Kal
--
View this message in context:
http://camel.465427.n5.nabble.com/Activemq-dynamic-endpoint-configuration-tp4749853p4776516.html
Sent from the Camel - Users mailing list archive at Nabble.com.