Hi,

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?

Regards
--
Dejan Bosanac
----------------------
Red Hat, Inc.
FuseSource is now part of Red Hat
[email protected]
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Fri, Jul 26, 2013 at 7:23 PM, jersey355 <[email protected]> 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:
> http://activemq.2283324.n4.nabble.com/How-do-you-configure-anonymous-access-for-REST-API-tp4669616p4669800.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>

Reply via email to