Hi everybody!
First of all I want to apologize to everybody for this interrumption but I want to expose the experiment I was doing and the problem I'm facing expecting some of you could help me to solve it. Ok, I'm trying to connect with RabbitMQ using the Qpid JMS translation library. I am aware that the RabbitMQ is an AMQP message broker and not a JMS one but I want to test if the software I'm using that has an out-of-the-box way to talk with JMS server providers could talk with RabbitMQ the same way. By the way, if you are interested I'm using TIBCO BW as the "main program" or "the integration program" whatever you want to call it, it is the software that creates the JMS connection.
First of all, a bunch of version I'm using:
RabbitMQ 3.4.0, Erlang R16B03 - To be more exactly I'm using the docker container definition from tutum/rabbitmq.
Qpid Libraries: (two atempts)
First of all I want a success testing the connection using the following configuration:
JNDI Context Factory: org.apache.qpid.jndi.PropertiesFileInitialContextFactory
JNDI Context URL: C:/Users/developer/Desktop/test.properties.txt
And the contest of the test.properties.txt file is:
destination.QUEUE = queue1
Ok, As I told before when I try to test the connection using the software (TIBCO BW) tool the result is OK, but when I want to try it I was facing the following internal RabbitMQ error when I'm trying to create the "JMS Session":
BW-JMS-100039 Job-30000 Error in [Process Definition (1).process/JMS Queue Sender]
There was an unexpected error while sending a message.
caused by: com.tibco.plugin.share.jms.impl.JMSExceptionWrapper: javax.jms.IllegalStateException: Session has been closed
Caused by: javax.jms.IllegalStateException: Session has been closed
Caused by: org.apache.qpid.AMQException: Exception thrown against AMQConnection:
Host: 192.168.79.128
Port: 5672
Virtual Host:
Client ID: VMWareVM1425243648454
Active session count: 1: org.apache.qpid.AMQDisconnectedException: Server closed connection and reconnection not permitted. [error code 541: internal error]
Caused by: org.apache.qpid.AMQDisconnectedException: Server closed connection and reconnection not permitted.
So, the question is simple and really there are two of them:
1.- Anyone has any idea about this error, what is the cause of it and how to solve it?
2.- Anyone has get a success trying to talk with a JMS Client library using the Qpid Libraries to do the translation for connect to RabbitMQ?
Thanks for your incredible help and once again sorry for bothering you!!!