Without seeing source code its hard to say. One thing to check is to ensure 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 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://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 Java Consumer all is fine. > > Grzegorz > > ---- Timothy Bish <[EMAIL PROTECTED]> schrieb: > > 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. > > > > Once you do that you should be all set. > > > > The openwire support in the C++ client is close, I'm working on some > issues > > with tight marshalling now, but loose marshalling seems to be working > just > > fine. We are working on new integration tests and unit tests to > validate > > all the new functionality. Its only a matter of time now. I've got a > busy > > week next week so it might get delayed a bit until I get a chance to > work on > > it some more. > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Sent: Saturday, March 03, 2007 6:53 AM > > > To: users@activemq.apache.org > > > Subject: Java Producer and C++ Consumer > > > Importance: High > > > > > > 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 tried it, but > > > without success. I got always following exception trying to start Java > > > producer using this URL tcp://localhost:61613 > > > > > > Caught: javax.jms.JMSException: Wire format negociation timeout: peer > did > > > not send his wire format. > > > > > > Will be possible to have the interconnection (Java and C++) with the > > > OpenWire protocol? > > > When do you expect to release the OpenWire C++ implementation? > > > > > > Thanks, > > > Grzegorz > >