Synchronous client fetches headers but no message body

23 views
Skip to first unread message

Bruce Pennypacker

unread,
Jul 13, 2016, 12:44:43 AM7/13/16
to stompest
I have a need to fetch the contents of a DLQ (dead letter queue) from ActiveMQ and log the contents to a file. We're running ActiveMQ 5.9.1 currently, and our application is java-based using the AMQP broker.

I've installed stompest, and when I run the Synchronous client examples they work like a charm. The Producer code creates a test queue with two messages in it, and I can browse the queue in the ActiveMQ web interface and see the messages there. The Consumer code then successfully retrieves the two messages and displays the contents.

My problem, however, is that stompest doesn't seem to be able to access messages that were enqueued via AMQP. If I try to fetch messages enqueued by our application then I can successfully fetch the headers but the message body itself is always empty.

The message details when viewed in ActiveMQ look like this:

{id=12345, entityTypeName=Job, _targetService=silverpopUpdate, _targetMethod=doUpdate, recreateEverything=false}

Any idea why I'm not seeing the body of the messages when I try to fetch the messages?

Thanks,

-Bruce

nikipore

unread,
Aug 29, 2016, 5:14:46 AM8/29/16
to stompest
Bruce,

Sorry for being late with my response, but your question seems to be related to ActiveMQ (how ActiveMQ transforms AMQP messages to STOMP messages), not about stompest. Have you asked over there? What are your subscription headers?

Cheers,
Jan
Reply all
Reply to author
Forward
0 new messages