camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: issue with spring JMS example
Date Mon, 03 Aug 2009 02:05:49 GMT

Form the stack trace, it looks like the client stop the connection when 
the broker wants to read more from it.

It should be OK, if your client can send and receive the message.

Willem

Mick Knutson wrote:
> http://camel.apache.org/tutorial-jmsremoting.html
> 
> I start the server up in 1 cmd window.
> 
> Then I start another cmd window and run the client
> 
> *[mple.client.CamelClient.main()] JmsProducer                    DEBUG Reply
> recieved. Setting reply as OUT message: 66
> *
> 
> 
> In the server, I get this error:
> 
> [ansport: tcp:///127.0.0.1:1873] Transport                      DEBUG
> Transport failed: java.net.SocketException: Connection reset
> *java.net.SocketException: Connection reset*
>         at java.net.SocketInputStream.read(SocketInputStream.java:168)
>         at
> org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:50)
>         at
> org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:58)
>         at java.io.DataInputStream.readInt(DataInputStream.java:353)
>         at
> org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:269)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:210)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:202)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185)
>         at java.lang.Thread.run(Thread.java:595)
> 
> 
> ---
> Thank You…
> 
> Mick Knutson, President
> 
> BASE Logic, Inc.
> Enterprise Architecture, Design, Mentoring & Agile Consulting
> p. (866) BLiNC-411: (254-6241-1)
> f. (415) 685-4233
> 
> Website: http://baselogic.com
> Linked IN: http://linkedin.com/in/mickknutson
> Vacation Rental: http://tahoe.baselogic.com
> ---
> 


Mime
View raw message