Moving Legacy applications to Latest rabbitMq (3.7.17) gives amqp-client incompatibility

69 views
Skip to first unread message

Anuradha niroshan

unread,
Sep 14, 2019, 9:39:25 AM9/14/19
to rabbitmq-users
We are upgrading Rabbit server to version  3.7.17 from 3.6.0. But our clients are using Spring rabbit dependency (version - 1.3.4) which includes amqp-client  (3.3.1). As per the release notes, We didn't see any breaking API changes. But there are errors coming up when we connect the client to the new Rabbit server.

[2019-09-14 13:14:43.0936], WARN , org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer SimpleAsyncTaskExecutor-5031 - Consumer raised exception, processing can restart if the connection factory supports it
org.springframework.amqp.AmqpIOException: java.io.IOException
at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:63)
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:195)
at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:359)
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils$1.createConnection(ConnectionFactoryUtils.java:80)
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.doGetTransactionalResourceHolder(ConnectionFactoryUtils.java:130)
at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactoryUtils.java:67)
at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(BlockingQueueConsumer.java:364)
at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:963)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException
at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)
at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102)
at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:346)
at com.rabbitmq.client.impl.recovery.RecoveryAwareAMQConnectionFactory.newConnection(RecoveryAwareAMQConnectionFactory.java:36)
at com.rabbitmq.client.impl.recovery.AutorecoveringConnection.init(AutorecoveringConnection.java:77)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:582)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:624)
at org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:191)
... 7 more
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error
at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)
at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)
at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:343)
at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:292)
... 12 more


Do we have to upgrade our clients to the latest versions?

Wesley Peng

unread,
Sep 14, 2019, 9:43:04 AM9/14/19
to rabbitm...@googlegroups.com
On 2019/9/14 9:39 下午, Anuradha niroshan wrote:
> Do we have to upgrade our clients to the latest versions?

hello,

though i have no experience on sprint client. but i think you'd better
update client library following the server updating.

regards.

Arnaud Cogoluègnes

unread,
Sep 16, 2019, 5:50:07 AM9/16/19
to rabbitm...@googlegroups.com
Java client 3.3.1 and Spring AMQP 1.3.4 are more than 5 years old, you
should really upgrade them.
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/2c87632c-a5d8-4fed-b581-ca57d0aaf1af%40googlegroups.com.

Anuradha niroshan

unread,
Sep 16, 2019, 8:26:34 AM9/16/19
to rabbitm...@googlegroups.com
Thanks guys for quick replies. will do it


Reply all
Reply to author
Forward
0 new messages