Iam using activeMQ to write my application.I have a queue named MyQueue which has a deadLetterStrategy which disables DLQ for a queue in the broker.Below config is in the broker.
<discardingDLQBrokerPlugin dropAll="false" dropOnly="MyQueue" reportInterval="0" />
Is there a method to do the exact above in the ActiveMQ consumer like a API or anything like that.