hi guys<br>I wrote a simple java client sending a message to a queue on Rabbit<br>I get this:<br><br><br>org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:331)<br>
at $Proxy9.queueDeclare(Unknown Source)<br> at org.springframework.amqp.rabbit.core.RabbitAdmin.declareQueues(RabbitAdmin.java:342)<br> at org.springframework.amqp.rabbit.core.RabbitAdmin.access$200(RabbitAdmin.java:46)<br>
at org.springframework.amqp.rabbit.core.RabbitAdmin$11.doInRabbit(RabbitAdmin.java:312)<br> at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:600)<br> ... 41 more<br>Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; reason: {#method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'x-message-ttl'for queue 'ml2gos_events' in vhost 'OPLCPMED00': received none but current is the value '86400000' of type 'long', class-id=50, method-id=10), null, ""}<br>
at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)<br> at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)<br> at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:343)<br>
at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:216)<br> at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:118)<br> ... 53 more<br>Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; reason: {#method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'x-message-ttl'for queue 'ml2gos_events' in vhost 'OPLCPMED00': received none but current is the value '86400000' of type 'long', class-id=50, method-id=10), null, ""}<br>
at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:454)<br> at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:294)<br> at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:144)<br>
at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:91)<br> at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:519)<br><br><br><br>Any pointers?<br><br>regards,<br>Nadeem<br>