You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by alex1183 <cr...@gmail.com> on 2013/06/06 15:16:49 UTC
Stomp The connection is already closed
Hello everyone,
I have a problem with my connection server/client :
My project is to make a stomp client in C# with Microsoft Visual C# Express
2010.
The client must be able to connect to a server Stomp, and then subscribe to
a destination to listen all messages from this destination (See
clientStompFEED_CSharp_lrv.zip).
The libraries that I used as reference are Apache.NMS from
Apache.NMS.Stomp-1.5.3.bin file and Apache.NMS.Stomp from
Apache.NMS.Stomp-1.5.3.src file.
To test this client, I had to implement a simple Stomp server in Java with
Eclipse using the library activemq-all-5.8.0.jar from apache-activemq-5.8.0
file.
I also coded a stomp client in Java, who happens to connect to the Stomp
server java deployed (See STOMP_Java_lrv.zip).
But, when I try to connect my client C# to server Java, the error
Apache.NMS.Stomp.ConnectionClosedException :“The connection is already
closed” occurs.
<http://activemq.2283324.n4.nabble.com/file/n4667956/screen_connectionalreadyclosed.bmp>
My two projects are attachments so that you can take a look.
clientStompFEED_CSharp_lrv.zip
<http://activemq.2283324.n4.nabble.com/file/n4667956/clientStompFEED_CSharp_lrv.zip>
STOMP_Java_lrv.zip
<http://activemq.2283324.n4.nabble.com/file/n4667956/STOMP_Java_lrv.zip>
librairie_client_apache.zip
<http://activemq.2283324.n4.nabble.com/file/n4667956/librairie_client_apache.zip>
--
View this message in context: http://activemq.2283324.n4.nabble.com/Stomp-The-connection-is-already-closed-tp4667956.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.