[rabbitmq-discuss] rabbitmq - simple message sending error

Nadeem M Nayeck nadeem.m.nayeck at gmail.com
Fri Aug 31 17:57:51 BST 2012


hi guys
I wrote a simple java client  sending a message to a queue on Rabbit
I get this:


org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(CachingConnectionFactory.java:331)
    at $Proxy9.queueDeclare(Unknown Source)
    at
org.springframework.amqp.rabbit.core.RabbitAdmin.declareQueues(RabbitAdmin.java:342)
    at
org.springframework.amqp.rabbit.core.RabbitAdmin.access$200(RabbitAdmin.java:46)
    at
org.springframework.amqp.rabbit.core.RabbitAdmin$11.doInRabbit(RabbitAdmin.java:312)
    at
org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:600)
    ... 41 more
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, ""}
    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.AMQChannel.privateRpc(AMQChannel.java:216)
    at
com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:118)
    ... 53 more
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, ""}
    at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:454)
    at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:294)
    at
com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:144)
    at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:91)
    at
com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:519)



Any pointers?

regards,
Nadeem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120831/0901c6e7/attachment.htm>


More information about the rabbitmq-discuss mailing list