Java Producer and C++ Consumer

2007-03-03 Thread swiatek
I have ActiveMQ 4.1.0 and ActiveMQ-CPP 1.1 installed. The language specific examples (Java producer/Java consumers respectively C++ producer/C++ consumers) work fine. Is it now possible with the Stomp protocol to have ordinary JMS producers written in Java and queue consumers written in C++? I t

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 swiatek
I have attached the source code. My environment is: - Windows XP Home SP2 - JDK1.5.0_08-b03 - for C++ MS VisualStudio 2005 Thanks, Grzegorz Timothy Bish <[EMAIL PROTECTED]> schrieb: > > Without seeing source code its hard to say. One thing to check is to ensure > that you are letting th

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 (); > >