Hello,
 
I am new to QPID and I have a question about QPID java client release 
compatibility with AMQP version.
I am using the last version of java broker (0.5) which can only handle up to 
AMQP 0-9, and the last version of java client (0.5) which can handle either 
AMQP 0-10 or 0-9 or 0-8 (as specified in 
http://qpid.apache.org/amqp-compatibility.html) . But to make the client and 
the broker able to communicate, I need to specify to the client to use the 0-9 
version.
I could not found any API to do this. So I browsed the repository, and I found 
the connect method code of Connection class :
 
 
    public void connect(String host, int port, String vhost, String username, 
String password, boolean ssl,String saslMechs)
    {
        synchronized (lock)
        {
            state = OPENING;
 
            delegate = new ClientDelegate(vhost, username, password,saslMechs);
 
            IoTransport.connect(host, port, ConnectionBinding.get(this), ssl);
            send(new ProtocolHeader(1, 0, 10));

            ....
 
 
As far as I can understand, the AMQP version is fixed and cannot be 
parametered, so why the java client is said to be compatible with version 0-9 ?
 
Thank you for the explanation.
 
 
Regards,

Yann LEGLISE
Agence STIE - Division Midi-Pyrénées
Sopra group.    
1 Avenue André Marie Ampère
BP 10134 - 31772 Colomiers Cedex
(Bureau 1C16)
Phone : +33 (0)5 34 56 71 07
[email protected] - www.sopragroup.com <http://www.sopragroup.com/> 
Ce message peut contenir des informations confidentielles dont la divulgation 
est à ce titre rigoureusement interdite en l'absence d'autorisation explicite 
de l'émetteur. Dans l'hypothèse où vous auriez reçu par erreur ce message, 
merci de le renvoyer à l'émetteur et de détruire toute copie.

P Pensez à l'environnement avant d'imprimer.    
 

Reply via email to