<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>The error message is showing that you are trying to declare a Queue where the value for 'x-message-ttl' does not match that of an existing Queue with the same name ('<span style="font-family: Helvetica, Arial, sans-serif; ">ml2gos_events')</span>.<br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Nadeem M Nayeck" &lt;nadeem.m.nayeck@gmail.com&gt;<br><b>To: </b>"Discussions about RabbitMQ" &lt;rabbitmq-discuss@lists.rabbitmq.com&gt;<br><b>Sent: </b>Friday, August 31, 2012 12:57:51 PM<br><b>Subject: </b>[rabbitmq-discuss] &nbsp;rabbitmq - simple message sending error<br><br>hi guys<br>I wrote a simple java client&nbsp; 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>
&nbsp;&nbsp;&nbsp; at $Proxy9.queueDeclare(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at org.springframework.amqp.rabbit.core.RabbitAdmin.declareQueues(RabbitAdmin.java:342)<br>&nbsp;&nbsp;&nbsp; at org.springframework.amqp.rabbit.core.RabbitAdmin.access$200(RabbitAdmin.java:46)<br>
&nbsp;&nbsp;&nbsp; at org.springframework.amqp.rabbit.core.RabbitAdmin$11.doInRabbit(RabbitAdmin.java:312)<br>&nbsp;&nbsp;&nbsp; at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:600)<br>&nbsp;&nbsp;&nbsp; ... 41 more<br>Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; reason: {#method&lt;channel.close&gt;(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>
&nbsp;&nbsp;&nbsp; at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)<br>&nbsp;&nbsp;&nbsp; at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)<br>&nbsp;&nbsp;&nbsp; at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:343)<br>
&nbsp;&nbsp;&nbsp; at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:216)<br>&nbsp;&nbsp;&nbsp; at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:118)<br>&nbsp;&nbsp;&nbsp; ... 53 more<br>Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; reason: {#method&lt;channel.close&gt;(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>
&nbsp;&nbsp;&nbsp; at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:454)<br>&nbsp;&nbsp;&nbsp; at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:294)<br>&nbsp;&nbsp;&nbsp; at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:144)<br>
&nbsp;&nbsp;&nbsp; at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:91)<br>&nbsp;&nbsp;&nbsp; at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:519)<br><br><br><br>Any pointers?<br><br>regards,<br>Nadeem<br>
<br>_______________________________________________<br>rabbitmq-discuss mailing list<br>rabbitmq-discuss@lists.rabbitmq.com<br>https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br></blockquote><br></div></body></html>