Re: Java Producer and C++ Consumer

2007-03-03 Thread swiatek
Thanks, now it works. Grzegorz Teemu Torma <[EMAIL PROTECTED]> schrieb: > On Saturday 03 March 2007 15:26, [EMAIL PROTECTED] wrote: > > cout << "create connection" << endl; > > auto_ptr conn(factory->createConnection()); > > You need to start the connection too, i.e., conn->start (); > >

Re: Java Producer and C++ Consumer

2007-03-03 Thread Teemu Torma
On Saturday 03 March 2007 15:26, [EMAIL PROTECTED] wrote: > cout << "create connection" << endl; > auto_ptr conn(factory->createConnection()); You need to start the connection too, i.e., conn->start (); Teemu

Re: Java Producer and C++ Consumer

2007-03-03 Thread Gaurav Hariani
re that you are letting the C++ consumer start and connect before the Java producer sends its messages. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, March 03, 2007 8:59 AM To: users@activemq.apache.org Cc: Timothy Bish Subject: RE: Java Pro

RE: Java Producer and C++ Consumer

2007-03-03 Thread swiatek
you are letting the C++ consumer start and connect before the Java > producer sends its messages. > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Saturday, March 03, 2007 8:59 AM > > To: users@activemq.apache.org >

RE: Java Producer and C++ Consumer

2007-03-03 Thread Timothy Bish
3, 2007 8:59 AM > To: users@activemq.apache.org > Cc: Timothy Bish > Subject: RE: Java Producer and C++ Consumer > Importance: High > > Hi, > > my C++ client is connected to tcp://localhost:61613. > Of course I have tried the Java Producer with the URL > tcp://localh

RE: Java Producer and C++ Consumer

2007-03-03 Thread swiatek
Hi, my C++ client is connected to tcp://localhost:61613. Of course I have tried the Java Producer with the URL tcp://localhost:61616 and the messages were created. My problem is that the C++ Consumer did not received anything (but is successfully connected to the queue TEST.FOO). If I start a Ja

RE: Java Producer and C++ Consumer

2007-03-03 Thread Timothy Bish
The Java Producer should probably be using tcp://localhost:61616 as its url, as that is the default for the openwire transport connector in the broker. The C++ client would connect to tcp://localhost:61613 assuming that you have the default stomp settings the same in your broker's configuration.