activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: How do you configure anonymous access for REST API?
Date Mon, 29 Jul 2013 10:23:24 GMT

ActiveMQ servlet uses the body of the post request that is sent. As far as
I can see the only check we do is that request is text/xml, so that maybe
an issue for you?

Dejan Bosanac
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: @dejanb
ActiveMQ in Action:

On Fri, Jul 26, 2013 at 7:23 PM, jersey355 <> wrote:

> Thanks Dejan, that worked.
> My listener on the consumer side is now able to see messages from my
> producer app via the REST API, but for some reason the messages are coming
> across empty (meaning TextMessage.getText() returns null).
> I created my own HTTP interface, which simply takes the body of the HTTP
> message and sends it to activemq via JMS.  This works perfectly, and allows
> me to retrieve the text from the HTTP body without any problems.
> If I simply point my producer to activemq's REST URL, I get the empty
> messages.
> Any thoughts?
> --
> View this message in context:
> Sent from the ActiveMQ - Dev mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message