Camel Delayer EIP query

2015-08-21 Thread gilboy
Hi

If I have the following route:

from(activemq:b).delay(1).to(mock:result);

I understand that the message will be delayed 10 seconds before being
delivered to mock:result.

However, trying to understand does the message get taken from the queue and
stored in memory until the 10 seconds has elapsed or does it wait 10 seconds
before taking the message from the queue. 

Thanks
Joe



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Delayer-EIP-query-tp5770895.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Camel Delayer EIP query

2015-08-21 Thread Claus Ibsen
The first, take of queue and wait in memory.

On Fri, Aug 21, 2015 at 1:41 PM, gilboy josephoto...@gmail.com wrote:
 Hi

 If I have the following route:

 from(activemq:b).delay(1).to(mock:result);

 I understand that the message will be delayed 10 seconds before being
 delivered to mock:result.

 However, trying to understand does the message get taken from the queue and
 stored in memory until the 10 seconds has elapsed or does it wait 10 seconds
 before taking the message from the queue.

 Thanks
 Joe



 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/Camel-Delayer-EIP-query-tp5770895.html
 Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-
http://davsclaus.com @davsclaus
Camel in Action 2nd edition: http://www.manning.com/ibsen2