activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: configuring and using ActiveMQ with http
Date Thu, 09 Sep 2010 08:14:02 GMT
Hi Bob,

if you need to send simple text to ActiveMQ using HTTP you can use
REST API: http://activemq.apache.org/rest.html

As for the http transport, it sends messages as XML payloads. The best
source of information is the Java implementation, which you can find
here:

http://svn.apache.org/viewvc/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/

and especially

http://svn.apache.org/viewvc/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/xstream/XStreamWireFormat.java?view=markup

which uses XStream to marshall/unmarshall messages


Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Wed, Sep 8, 2010 at 10:33 PM, ChicagoBob123 <bobt@bobfx.com> wrote:
>
> On Wed, 2010-09-08 at 12:41 -0700, ChicagoBob123 wrote:
>> Does the CMS C++ client support Http transport?
> No, only the Java client provides HTTP transport at this time.
> Regards
> --
> Tim Bish
>
> More questions poped up. Where can I find the spec or outline to do
> something like this?
> My guess is I need to write a TCP/IP Socket handler to do a http post and
> one to do a http get.
> Fine but post to what page/URL what and get what page/URL?
>
> Is there a ActiveMQ/Http doc some place for doing this?
> I am guessing to add to queue you would create a http post with text and
> send it.  Is it that simple or is there more?
> Thanks a bunch,
> Bob
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/configuring-and-using-ActiveMQ-with-http-tp2531794p2531988.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
View raw message