activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: How do you configure anonymous access for REST API?
Date Mon, 29 Jul 2013 10:23:24 GMT
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
dbosanac@redhat.com
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Fri, Jul 26, 2013 at 7:23 PM, jersey355 <jersey355@ymail.com> 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.
>

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