qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Robie <jonathan.ro...@redhat.com>
Subject Re: Mixing up AMQP QPID and JMS
Date Wed, 19 Aug 2009 18:04:33 GMT
Leglise Yann wrote:
> Hello once again :)
> Here are some additional questions arisen from your answers.
> 1) As there are java example that does not make use of JMS objects, I suppose that QPID
also furnish another AMQP implementation that is independent from JMS?

Yes, there is also a "low level" Java API that is more similar to the 
C++ and Python APIs. It is not widely used, though, and is not well 
documented. Most Java users use the Java JMS APIs.

> 2) If it is, are both implementations equivalent and compliant with AMQP the same way?
I am asking because using JMS, when you create a Consumer on a queue that is not declared
as an administered object, this queue is created in the broker. I believe this a a normal
JMS behaviour, but I have read somewhere that in AMQP, queues must be explicitly declared,
what I understood by "if queues are not explicitly declared, they cannot be used".

If you use the Java JMS APIs, you get Java JMS behavior, we implement it 
using AMQP. If you want to directly invoke the AMQP primitives, you can 
use the low level API, but be aware that you'll be one of few doing so, 
and you'll have to figure things out with less documentation etc.


Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org

View raw message