Yes, it can ... otherwise it wouldn't be very useful :). The CMS API is modeled after JMS. If you have questions as to how the JMS API works, sun has a decent tutorial here http://java.sun.com/products/jms/tutorial/
When you publish and subscribe, it results in control messages going out to the broker to pub/sub on the topics that you requested. So, it doesn't matter where the broker is, so long as your connection is pointed at it via the url. I'm guessing that you've already seen the example application that we have posted, but in case you haven't - take a look http://www.activemq.org/CMS And the full source for the example is here: https://svn.apache.org/repos/asf/incubator/activemq/trunk/cms/test/main. cpp Hope this clears things up. Regards, Nate -----Original Message----- From: hassan2 [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 3:10 PM To: [email protected] Subject: RE: CMS C++ library and JMS bytesMessage Thanks, I found the links. Can the existing CMS C++ library send and receive messages via an ActiveMQ broker running on another host? Will the publish/subscribe through CMS C++ library both work on a remote ActiveMQ broker? I am wondering how that callbacks will work! Hassan -- View this message in context: http://www.nabble.com/CMS-C%2B%2B-library-and-JMS-bytesMessage-t1421434. html#a3848401 Sent from the ActiveMQ - User forum at Nabble.com.
