Thank you for your reply

my need is simple, I want to transfer messages from the queue A to queue B,
each 1 hour.

I think the examples that are present in this page is not used to me.

de you have ideas that could help me ?

thank you again

titexe


Ashwin Karpe wrote:
> 
> Hi,
> 
> You could do the following
> 
>              from("timer://foo?period=3600000").
>                 process (new Processor(Exchange exchange) {
>                      exchange.getOut().setBody("My FooBar Message");
>                 }). 
>                 to(activemq:MyQueue);
>           
>              from(activemq:MyQueue).bean(doSomething);
> 
> Alternatively, Check this link out 
>       http://camel.apache.org/polling-consumer.html
> 
> It demonstrates another way, a timer or quartz component can be used to
> kick off a route that then allows for a JMS message to be picked up from a
> queue and delivered a a scheduled interval.
> 
> Hope this helps.
> 
> 
> Cheers,
> 
> Ashwin...
> 
> 
> titexe wrote:
>> 
>> Hello,
>> 
>> there's a possibility to schedule a move of messages from one queue to
>> another, every 1 hour?
>> 
>> If yes, how;)? Thank you for giving me an example:)
>> 
>> Thank you in advance
>> 
>> titexe
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Camel-%3A-schedule-the-move-of-messages-tp26443376p26498569.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to