You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Lalit Nagpal <la...@rediffmail.com> on 2006/06/27 07:34:46 UTC

C++ Code to talk to ActiveMQ

Hi,

I would be building a C++ layer that would talk to ActiveMQ. Can anybody
guide me as to where I can get some sample C++ code with ActiveMQ. 

Regards

Lalit Nagpal
-- 
View this message in context: http://www.nabble.com/C%2B%2B-Code-to-talk-to-ActiveMQ-tf1853331.html#a5060078
Sent from the ActiveMQ - Dev forum at Nabble.com.


Re: C++ Code to talk to ActiveMQ

Posted by Lalit Nagpal <la...@rediffmail.com>.
Awrighty ... thanks James ... that helps
-- 
View this message in context: http://www.nabble.com/Using-ActiveMQ-with-C%2B%2B-tf1853331.html#a5082542
Sent from the ActiveMQ - Dev forum at Nabble.com.


Re: C++ Code to talk to ActiveMQ

Posted by James Strachan <ja...@gmail.com>.
On 6/27/06, Lalit Nagpal <la...@rediffmail.com> wrote:
>
> Hi James,
>
> Yeah 2 messages posted ... was a page refresh problem ... so by mistake
> posted it twice.

No worries :)

> I am a bit confused as to what STOMP and OpenWire have to offer.

They are basically wire formats (i.e. how are commands exchanged over
a socket). They are funcitionally similar; Stomp is super simple to
implement, OpenWire is much faster & binary but lots harder to write.

> Is it that my C++ code would interact with these APIs (STOMP and OpenWire)
> which in turn talk to ActiveMQ.

Neither are APIs. The C++ API for ActiveMQ is currently defined by the
CMS API (*) which has implementations for Stomp and OpenWire.
Typically for any language the Stomp client is way simpler and easier
to use; OpenWire is faster but takes a little longer to stabalize.

> Also what is the progress of OpenWire .. is
> there any code that I can download to get a feel of this.

Yes - see the CMS area of SVN.

http://svn.apache.org/viewvc/incubator/activemq/trunk/cms/


(*) just to complicate things, Amazon are in the process of donating
an alternative C/C++ client, we're just waiting for it to be attached
to a JIRA


-- 

James
-------
http://radio.weblogs.com/0112098/

Re: C++ Code to talk to ActiveMQ

Posted by Lalit Nagpal <la...@rediffmail.com>.
Hi James,

Yeah 2 messages posted ... was a page refresh problem ... so by mistake
posted it twice.
I am a bit confused as to what STOMP and OpenWire have to offer.

Is it that my C++ code would interact with these APIs (STOMP and OpenWire)
which in turn talk to ActiveMQ. Also what is the progress of OpenWire .. is
there any code that I can download to get a feel of this.

Thanks
-- 
View this message in context: http://www.nabble.com/Using-ActiveMQ-with-C%2B%2B-tf1853331.html#a5063553
Sent from the ActiveMQ - Dev forum at Nabble.com.


Re: C++ Code to talk to ActiveMQ

Posted by James Strachan <ja...@gmail.com>.
I answered on the user thread but more details are here...
http://activemq.org/site/cms.html

On 6/27/06, Lalit Nagpal <la...@rediffmail.com> wrote:
>
> Hi,
>
> I would be building a C++ layer that would talk to ActiveMQ. Can anybody
> guide me as to where I can get some sample C++ code with ActiveMQ.
>
> Regards
>
> Lalit Nagpal
> --
> View this message in context: http://www.nabble.com/C%2B%2B-Code-to-talk-to-ActiveMQ-tf1853331.html#a5060078
> Sent from the ActiveMQ - Dev forum at Nabble.com.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/