Hi
When I use my c stomp client to send TCP/IP message to activemq, I am
getting EOFException.
I am using '\0' to represent ^@ (request = switch_mprintf(
"SEND\ndestination:%s\n\n%s\n\n\0",dest,msg);)
Does anyone know what is wrong with that?
When I use the telnet window to send the message, this error message
does not appear.
DEBUG Transport - Transport failed: java.io.EOFException
java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:250)
at
org.apache.activemq.transport.stomp.StompWireFormat.readLine(StompWireFormat.java:186)
at
org.apache.activemq.transport.stomp.StompWireFormat.unmarshal(StompWireFormat.java:94)
at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:203)
at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:195)
at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)
at java.lang.Thread.run(Thread.java:619)
DEBUG TransportConnection - Stopping connection: /192.168.1.101:59489
DEBUG TcpTransport - Stopping transport
tcp:///192.168.1.101:59489
Any help and suggestion in getting this problem resolved will be
greatly appreciated.
Thanks,
JB