Senaka,

The Java client (JMS impl) can speak both 0-10 and 0-9.
Earlier we distinguished the version based on the connection URL.
Since then Arnaud made changes so that both versions used a common URL
format and to figure out the version based on connection negotiation.
Theoritically, after the merge the JMS examples should work with the M2.1
java broker. However it is quite possible that something is broken.
I may not have time today to have a crack at it and by the time I look at it
on monday Arnaud may well have an answer for you.

Regards,

Rajith

On Sun, Apr 27, 2008 at 1:35 PM, Senaka Fernando <[EMAIL PROTECTED]>
wrote:

> Hi Marnie,
>
> Well I did try running all. I'm not sure whether I'm missing something on
> running JMS examples, but,
>
> running org.apache.qpid.example.amqpexample.fanout.FannoutProducer,
> results
> in,
>
> Error connecting to brokerorg.apache.qpidity.ProtocolException:
> Unsupported
> protocol version: 0.10
>
> and running org.apache.qpid.example.jmsexample.direct.Listener results in,
>
> Listener: Caught an Exception: javax.jms.JMSException: Error creating
> connection: Protocol: 0.9 is rquired by the broker but is not currently
> supported by this client library implementation [error code 543: client
> unsupported protocol]
>
> Same are with the rest of the org.apache.qpid.example.jmsexample.*. And,
> the
> Java broker complains that the protocol is 0-10
>
> Regards,
> Senaka
>
> On Sun, Apr 27, 2008 at 10:48 PM, Marnie McCormack <
> [EMAIL PROTECTED]> wrote:
>
> > Hi Senaka,
> >
> > This is a temporary situation since the merge activity earlier this
> week.
> >
> > Rajith/Arnaud - any suggestions for running the AMQP examples until we
> get
> > trunk Java Broker talking 0-10 again ?
> >
> > Obviously the JMS examples would work, but I'm guessing that this isn't
> > what
> > you're trying to do ?
> >
> > Regards,
> > Marnie
> >
> > On 4/27/08, Senaka Fernando <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi all,
> > >
> > > I was trying to run some Qpid Java samples today and discovered that
> the
> > > samples are using AMQP 0-10, and the Java broker is based on AMQP 0-9.
> > > However, I managed to run the Java samples with the Qpid C++ broker.
> > But,
> > > I
> > > would like to know how I could run the Java samples with the Java
> broker
> > > too.
> > >
> > > Regards,
> > > Senaka
> > >
> >
>



-- 
Regards,

Rajith Attapattu
Red Hat
http://rajith.2rlabs.com/

Reply via email to