Hi Tim, The broker is language independent from a client perspective. All it knows about from clients is the messages it receives which could be from a client written in any language as long as it builds the messages correctly. So you can have JMS clients sending messages through a C++ broker to Java and Python clients.
The JMS client is basically a library that talks to the AMQP layer which in turn marshals the message on and off the wire transport. With regard to your attempt to connect to the C++ based broker: have you checked the correct host and port addresses? What port are you bringing up the broker? the default 5672? Have you security turned on? have you tried running the broker with "--auth no". William ----- "Tim Chen" <[email protected]> wrote: > Also, I wonder if the C++ broker supports JMS interface? > > I tried the same JMS code to connect to the Java broker with the C++ > broker and it's giving me connection refuesd JMS Exceptions. > > Thanks, > > Tim > > > ----- Original Message ----- > From: "Tim Chen" <[email protected]> > To: [email protected], [email protected] > Cc: [email protected] > Sent: Thursday, August 26, 2010 10:30:13 AM GMT -08:00 US/Canada > Pacific > Subject: Re: Queue message overwriting > > From looking at the documentation, it does seems that the option to > set queue policy (ring, flow-to-disk, etc) is only avaiable for C++ > broker. > > Wonder if there are ways to make it work in the Java broker? > > Tim > > ----- Original Message ----- > From: "Carl Trieloff" <[email protected]> > To: [email protected] > Sent: Thursday, August 26, 2010 7:47:13 AM GMT -08:00 US/Canada > Pacific > Subject: Re: Queue message overwriting > > > > Those are the semantics of the ring queue in the C++ broker, I don't > believe Java broker supports that yet, > but please correct me if I'm wrong > > Carl. > > > On 08/25/2010 04:45 PM, Tim Chen wrote: > > Hi all, > > > > I have a question on qpid 0.6 java broker. > > > > I want to limit my queue to only store messages in memory, when > memory is full for that queue it will just simply replace the oldest > messages in the non-persistent queue. > > > > I wonder how can this be done using JMS queue creation? > > > > Thanks, > > > > Tim > > > > > --------------------------------------------------------------------- > > Apache Qpid - AMQP Messaging Implementation > > Project: http://qpid.apache.org > > Use/Interact: mailto:[email protected] > > > > > > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
