Hi, I also started testing with the QPid version of the stack (rather than the Red hat mrg) because Qpid has a non-jms Java api.
I was hoping to avoid JMS entirely, it sounds like the standard and the expected practice is actually to use JMS for java based projects rather than the AMQP specific api? Thanks Shahbaz -----Original Message----- From: Robert Greig [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 10:18 AM To: [email protected] Subject: Re: General question regarding Java QPID 2008/5/7 Kamran Saadatjoo <[EMAIL PROTECTED]>: > I'm very new to QPID, so please forgive me if my question is trivial. Welcome to the list. Your question is not trivial at all; in fact it is one that has provoked much discussion in the past! > to know QPID because I was interested in the AMQP protocol. In going through > some of the examples (the Publisher.java and Subscriber.jave examples in the > Client pubsub directory in particular), I find that the AMQP methods are not > being used. Or maybe I don't understand how they are being used. Is AMQP a > subset of QPID? If so, why would I use the AMQP classes verses JMS? Any > light shed on this trivial question is greatly appreciated. Hi Kamran, In Java, JMS is the established standard API for messaging applications. The Qpid Java client is fully JMS compliant and we generally recommend to users to use it. Of course, like nearly every messaging product, there are extensions and features that go beyond the JMS specification and these are exposed over an "extended JMS API" which extends the javax.jms.* interfaces where appropriate. We did this because we did not want to force our users to make major changes to existing JMS applications that they may have just to use certain AMQP-specific features. AMQP is the wire level protocol and other language implementations in qpid (e.g. Python, Ruby etc) do track the protocol more closely. However this does not mean that the other languages have greater capabilities than the Java implementation just that the API tracks the protocol. A future release of Qpid may have a "low level" Java API that exposes the protocol directly but that is really only intended for certain specialised use cases. Let us know if you have further questions. Robert
