activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <swia...@chello.at>
Subject RE: Java Producer and C++ Consumer
Date Sat, 03 Mar 2007 14:26:34 GMT
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 <tabish@twcny.rr.com> schrieb:
> 
> 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: swiatek@chello.at [mailto:swiatek@chello.at]
> > 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 <tabish@twcny.rr.com> 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: swiatek@chello.at [mailto:swiatek@chello.at]
> > > > 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
> > >
> 

Mime
View raw message