I am working with ActiveMQ in C#. I do not understand how to set the Redelivery Policy in code. I have tried to set the property in code on consumer side, but I am not able to understand whether it is working or not.
RedeliveryPolicy policy = connection.RedeliveryPolicy
policy.InitialRedeliveryDelay = 50000;
policy.MaximumRedeliveries = 5;
Above I have set the property, but I don't know it is right way or not.