Re: Camel : schedule the move of messages

2009-11-26 Thread titexe
Thank you for your help Claus Ibsen-2 wrote: > > On Tue, Nov 24, 2009 at 6:17 PM, titexe wrote: >> >> 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 us

Re: Camel : schedule the move of messages

2009-11-26 Thread titexe
Thank you for your help, Claus Ibsen-2 wrote: > > On Tue, Nov 24, 2009 at 6:17 PM, titexe wrote: >> >> 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

Re: Camel : schedule the move of messages

2009-11-24 Thread Claus Ibsen
On Tue, Nov 24, 2009 at 6:17 PM, titexe wrote: > > 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 ? > Well As

Re: Camel : schedule the move of messages

2009-11-24 Thread titexe
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 d

Re: Camel : schedule the move of messages

2009-11-20 Thread Ashwin Karpe
Hi, You could do the following from("timer://foo?period=360"). process (new Processor(Exchange exchange) { exchange.getOut().setBody("My FooBar Message"); }). to(activemq:MyQueue); from

Re: Camel : schedule the move of messages

2009-11-20 Thread Ashwin Karpe
Hi, You could do the following from("timer://foo?period=360"). process (new Processor(Exchange exchange) { exchange.getOut().setBody("My FooBar Message"); }). to(activemq:MyQueue); from

Re: Camel : schedule the move of messages

2009-11-20 Thread Dmitry Ulanov
Sorry for my example, just see "Timer based polling consumer" paragraph on http://camel.apache.org/polling-consumer.html. On Fri, Nov 20, 2009 at 6:40 PM, Dmitry Ulanov wrote: > new Thread(new Runnable() { > @Override public void run() { >

Re: Camel : schedule the move of messages

2009-11-20 Thread Dmitry Ulanov
new Thread(new Runnable() { @Override public void run() { try { PollingConsumer consumer = getContext().getEndpoint("activemq:queue1").createPollingConsumer(); Producer pr

Camel : schedule the move of messages

2009-11-20 Thread titexe
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-tp26443376p26443