Answer the question
In order to leave comments, you need to log in
Which transport to choose for ActiveMQ allowing you to restore the connection?
We use ActiveMQ, PHP and Stomp. And there is one problem with stomp - it cannot detect when the connection is lost. Heartbeat in stomp was added only in version 1.2, while ActiveMQ only supports 1.1, and for php there is no implementation fresher than 1.0.
I also tried Amqp, but for it the php implementation was found only in version 0.9.1, and ActiveMQ uses version 1.0. And when the consumer tries to connect to the broker, he gives an error:
WARN | Connection attempt from non AMQP v1.0 client. AMQP,0,0,9,1
WARN | Transport Connection to: tcp://127.0.0.1:42168 failed: org.apache.activemq.transport.amqp.AmqpProtocolException: Connection from client using unsupported AMQP attempted
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question