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(WireFormatNegotiator.java:118) at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.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.