You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by devnull <ji...@gmail.com> on 2010/12/23 21:28:43 UTC

AMQ_SCHEDULED_DELAY not working correctly

I have the following method:

http://pastebin.com/8hHV7HxL

I'm trying to set a delay of 120 seconds to re-deliver a message to a queue.
Instead of waiting the 120 seconds it goes into the Queue immediately and is
available for dequeue. Not expected results. 
I'm running 5.5-snapshot

does that code snippet look correct? Does the server need to have any
configuration items set to allow delayed messaging?

thanks
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-SCHEDULED-DELAY-not-working-correctly-tp3162565p3162565.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: AMQ_SCHEDULED_DELAY not working correctly

Posted by Norman Maurer <no...@apache.org>.
Hm,

from the code it should work. I use message scheduling with 5.4.2 and
it works as espected here.

Bye,
Norman


2010/12/23 devnull <ji...@gmail.com>:
>
> I have the following method:
>
> http://pastebin.com/8hHV7HxL
>
> I'm trying to set a delay of 120 seconds to re-deliver a message to a queue.
> Instead of waiting the 120 seconds it goes into the Queue immediately and is
> available for dequeue. Not expected results.
> I'm running 5.5-snapshot
>
> does that code snippet look correct? Does the server need to have any
> configuration items set to allow delayed messaging?
>
> thanks
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-SCHEDULED-DELAY-not-working-correctly-tp3162565p3162565.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>