qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Greig" <robert.j.gr...@gmail.com>
Subject Re: General question regarding Java QPID
Date Wed, 07 May 2008 14:17:37 GMT
2008/5/7 Kamran Saadatjoo <kamran@openflowsystems.com>:
> 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

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.


View raw message