You can do automatic purging of your DLQ. However, DLQs are just queues in ActiveMQ, so there's nothing stopping you from just connecting to that queue by its name.
http://activemq.apache.org/message-redelivery-and-dlq-handling.html John On Thu, Oct 6, 2016 at 12:08 PM tk0485 <tk.y...@gmail.com> wrote: > Hi all, > > I'm trying to write a script that pulls messages from activeMQ queue and > purge them after. I tried looking it up online but couldn't find any > examples to teach me how to do it. I'm want to know how can I connect to > DLQ > and how can I purge it? > Any help? > > Thanks in advance > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/how-get-messages-from-activemq-dlq-tp4717568.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >