You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ubaid <ub...@aajtech.com> on 2018/01/22 13:20:45 UTC

AMQ_SCHEDULED_DELAY not working

I have added the scheduler support to true:

<broker xmlns="http://activemq.apache.org/schema/core"
brokerName="localhost" dataDirectory="${activemq.data}"
schedulerSupport="true">

then I have set the property of the message to be delayed for 5 seconds:

<http://activemq.2283324.n4.nabble.com/file/t378729/AMQ-SC.png> 

but the problem is that the consumer is consuming this message the moment
this queue received the message.
I want to set a time after that time the consumer should retrieve the
message, not before that set time.
Can you please tell me what is I'm doing wrong.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html