not sure what you mean. like you have a queue of 5 messages, and you want to "extract" one and print that to a text file? or you just want to consume one message and print that to a file? your best bet might be to look at apache camel. doing this would be dead simple.
On Thu, Aug 29, 2013 at 11:23 AM, Wendell L. Hatcher < wendellhatcher1...@gmail.com> wrote: > Is it possible to copy a single message from a queue to a text file? > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Copy-Message-from-queue-to-a-text-file-tp4670925.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta