activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bish, Tim" <Tim.B...@Sensis.com>
Subject RE: C++ only solution (is this possible)?
Date Tue, 24 Jun 2008 22:36:40 GMT
ActiveMQ-CPP is only a client so in one sense yes you are forced to
bring java into the mix.  However this is only from the standpoint that
all your C++ clients need a message broker and the broker happens to be
written in Java.  The clients themselves are pure C++ client using
ActiveMQ-CPP as their conduit to message each other; the broker manages
all the plumbing behind the scenes to pass the messages back and forth
and persist them if needed etc.  So somewhere on your network you need
to run a broker.  So then the question is does it really matter what
language the broker is written in or does it only matter that all your
C++ clients can talk.

So the short answer is yes you need java installed somewhere, but only
on the machine that runs the broker, everywhere else your clients could
all be C++ applications.

Does that help?

Regards
Tim.

> -----Original Message-----
> From: Morpheous [mailto:takashi_949@hotmail.com]
> Sent: Tuesday, June 24, 2008 3:26 PM
> To: users@activemq.apache.org
> Subject: C++ only solution (is this possible)?
> 
> 
> I recently came accross CMS/ActiveMQ-CPP. I have been very impressed
by
> the
> work done so far. After several days of revisiting the project website
> though - it is still not clear to me whether I can build a (C++ only)
> distributed system using CMS and ActiveMQ-CPP.
> 
> Just when things seem to be getting clearer in the documentation, I
come
> across a reference to Java, which seems to suggest that you cant use
this
> framework without a Java component (I hope I am mistaken).
> 
> I have a C++ application, that I want to maintain as pure C++ (no
mixing
> with Java or any other language). I want to create a distributed
system
> (supporting P2P messaging, Publish/subscribe messaging and distributed
> queues). It appears that ActiveMQ-CPP is capable of doing all that,
but it
> is not clear if I am *forced* to bring Java into the mix or not.
> 
> My C++ applications will be mostly consumers, though some will be
> Producers
> (and some both producers/consumers). The idea is to use an existing
C++
> framework (hopefully ActiveMQ-CPP), to provide the MOM infrastructure
-
> instead of "rolling my own".
> 
> Can anyone please shed light on whether I can use CMS/ActiveMQ-CPP in
a
> *C++
> ONLY* solution?
> 
> Thanks
> --
> View this message in context:
http://www.nabble.com/C%2B%2B-only-solution-
> %28is-this-possible%29--tp18101121p18101121.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message