Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to configure a redelivery delay when consuming messages from an ActiveMQ connection (using the "Use Transaction" option enabled).
I've tried to add the redelivery policy properties to the connection factory broker URI, but so far, only the "maximumRedeliveries" setting has effect?
For example:
"tcp://localhost:61616?jms.redeliveryPolicy.initialRedeliveryDelay=9000&jms.redeliveryPolicy.maximumRedeliveries=2"
?results into 2 retries (good!), but there is no initial delay of 9000 ms. Any other option, such as "useExponentialBackOff" or "redeliveryDelay" have no influence what so ever; the message is retried immediately without delays until it hits the (configured) maximum.
Any ideas?
Thanks -- Robin