Just curious ... are you building with a C++ compiler?  If so, you might want 
to think about just using ActiveMQ-CPP: http://activemq.apache.org/cms/

I'm not sure if the Openwire C client is being maintained.

Regards,
Nate

> -----Original Message-----
> From: Joselu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 09, 2008 2:32 AM
> To: users@activemq.apache.org
> Subject: Openwire C client protocol error
> 
> 
> Hi,
> we want to integrate our linux C application with ActiveMQ broker 5.1.0
> using Openwire C Client. As a first step, we are trying to make the
> example
> works but we have a problem in the fist step of the protocol, during the
> wire format negociation. It seems that the message is not well formatted
> in
> client side.
> The client example and broker run in the same linux machine.
> I attach dump of the trace at broker side.
> So, we wonder if the example taken from web runs OK or there is any known
> issue. We have also checked it with AMQ broker 4.1.2 unsuccessfully.
> 
> Anyone has been succesful in this stuff? Any ideas about this problem?
> 
> Thanks in advance
> Joselu
> 
> ------------------------------------------
> 
> DEBUG WireFormatNegotiator - Sending: WireFormatInfo { version=3,
> properties={TightEncodingEnabled=true, Cache Size=1024,
> TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
> MaxInactivityDurationInitalDelay=10000, MaxInactivityDuration=30000,
> CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
> DEBUG WireFormatNegotiator           - Received WireFormat: WireFormatInfo
> {
> version=1297154048, properties={}, magic=[☺, ,A,c,t,i,v,e]}
> DEBUG WireFormatNegotiator - tcp:///159.23.115.19:45780 before
> negotiation:
> OpenWireFormat{version=3, cacheEnabled=false, stackTraceEnabled=false,
> tightEncodingEnabled=false, sizePrefixDisabled=false}
> DEBUG Transport  - Transport failed: java.io.IOException: Remote wire
> format
> magic is invalid
> java.io.IOException: Remote wire format magic is invalid
>         at
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNeg
> otiator.java:118)
>         at
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonito
> r.java:206)
>         at
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.
> java:84)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:196
> )
>         at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)
>         at java.lang.Thread.run(Thread.java:595)
> DEBUG WireFormatNegotiator           - tcp:///159.23.115.19:45780 after
> negotiation: OpenWireFormat{version=3, cacheEnabled...
> --
> View this message in context: http://www.nabble.com/Openwire-C-client-
> protocol-error-tp18357667p18357667.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.


This message is intended only for the addressee and may contain information 
that is confidential or privileged. Unauthorized use is strictly prohibited and 
may be unlawful. If you are not the intended recipient, or the person 
responsible for delivering to the intended recipient, you should not read, 
copy, disclose or otherwise use this message. If you have received this email 
in error, please delete and advise immediately.

Reply via email to