I have a route: ... <threadPoolProfile id="defaultProfile" defaultProfile="true" keepAliveTime="10" maxPoolSize="100" maxQueueSize="100"/>
<route> <description>Set the header value timeDelay by action</description> <from uri="activemq:queue:PAYROLL.UNLOCKER.DELAY"/> <transacted ref="required"/> <choice> <when> <method ref="xpathExecutor" method="isMatch(${body}, 'IS_PRCONTROL')" /> <setHeader headerName="timeDelay"> <constant>1800000</constant> </setHeader> <to uri="activemq:queue:PAYROLL.UNLOCKER.DELAY.DO"/> </when> <when> <method ref="xpathExecutor" method="isMatch(${body}, 'IS_PRARM')" /> <setHeader headerName="timeDelay"> <constant>7200000</constant> </setHeader> <to uri="activemq:queue:PAYROLL.UNLOCKER.DELAY.DO"/> </when> <otherwise> <to uri="activemq:queue:PAYROLL.WRONG_DEFINE_QUEUE_UNLOCK"/> </otherwise> </choice> </route> <route errorHandlerRef="payrollBeforeUnlockErrHandler"> <description>Delay message by the header value timeDelay</description> <from uri="activemq:queue:PAYROLL.UNLOCKER.DELAY.DO?maxConcurrentConsumers=7"/> <transacted ref="required"/> <delay asyncDelayed="true"> <header>timeDelay</header> </delay> <removeHeader headerName="timeDelay" /> <to uri="activemq:queue:PAYROLL.UNLOCK.EXTEND"/> </route> ... Messages never leave the queue PAYROLL.UNLOCKER.DELAY.DO, but if I change timeDelay such as 3000 or 5000 values, the messages go away. Is there a maximum value for timeDelay? -- View this message in context: http://camel.465427.n5.nabble.com/Trouble-with-delayer-tp5727098.html Sent from the Camel - Users mailing list archive at Nabble.com.