<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; ">Hi there,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; ">I'm having a frustrating issue with RabbitMQ and sprimg-amqp, maybe someone could help me.</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; ">I need to send a message to a queue from an external process (a JUnit class just to test if routing works well). This is my camel-context.xml file:</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(57, 51, 255); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">        </span></span><span style="color: #009193"><</span><span style="color: #4e9192">camelContext</span><span style="color: #000000"> </span><span style="color: #932192">xmlns</span><span style="color: #000000">=</span>"http://camel.apache.org/schema/spring"<span style="color: #009193">></span></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(78, 145, 146); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                </span></span><span style="color: #009193"><</span>route<span style="color: #009193">></span><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">        </span></span></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(57, 51, 255); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                        </span></span><span style="color: #009193"><</span><span style="color: #4e9192">from</span><span style="color: #000000"> </span><span style="color: #932192">uri</span><span style="color: #000000">=</span>"spring-amqp:KipcastDirect:KipcastQueue:KipcastRouting?type=direct&amp;autodelete=true&amp;durable=true"<span style="color: #000000"> </span><span style="color: #009193">/></span></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(57, 51, 255); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                        </span></span><span style="color: #009193"><</span><span style="color: #4e9192">log</span><span style="color: #000000"> </span><span style="color: #932192">message</span><span style="color: #000000">=</span>"Message received!!! "<span style="color: #009193">/></span><span style="color: #000000"> </span></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(57, 51, 255); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                        </span></span><span style="color: #009193"><</span><span style="color: #4e9192">to</span><span style="color: #000000"> </span><span style="color: #932192">uri</span><span style="color: #000000">=</span>"spring-amqp:KipcastDirect2:TestQueue:KipcastRouting2?type=direct&amp;autodelete=false&amp;durable=true"<span style="color: #000000"> </span><span style="color: #009193">/></span></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(78, 145, 146); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">                </span></span><span style="color: #009193"></</span>route<span style="color: #009193">></span></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(78, 145, 146); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">        </span></span><span style="color: #009193"></</span>camelContext<span style="color: #009193">></span></p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; ">when I started it using maven camel:run it works fine. The exchange is available and also queue in RabbitMQ Management. The problem happens when I try to send a message to that Exchange:</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">ConnectionFactory factory = <span style="color: #931a68">new</span> ConnectionFactory();</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">factory.setHost(<span style="color: #3933ff">"10.211.55.20"</span>);</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">factory.setPort(5672);</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">factory.setVirtualHost(<span style="color: #3933ff">"/"</span>);</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">factory.setUsername(<span style="color: #3933ff">"guest"</span>);</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">factory.setPassword(<span style="color: #3933ff">"guest"</span>);</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">Connection connection = factory.newConnection();</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">Channel channel = connection.createChannel();</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; min-height: 15px; "><br></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">channel.exchangeDeclare(<span style="color: #3933ff">"KipcastDirect"</span>, <span style="color: #3933ff">"direct"</span>, </p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(78, 144, 114); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">        </span> </span><span style="color: #931a68">true</span><span style="color: #000000">, <span class="Apple-tab-span" style="white-space:pre">        </span></span>/* durable */</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(78, 144, 114); "><span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre">        </span> </span><span style="color: #931a68">true</span><span style="color: #000000">, <span class="Apple-tab-span" style="white-space:pre">        </span></span>/* <span style="text-decoration: underline">autodelete</span> */</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span> <span style="color: #931a68">null</span>); <span class="Apple-tab-span" style="white-space:pre">        </span><span style="color: #4e9072">/* */</span></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; min-height: 15px; "> </p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span style="color: #931a68">byte</span>[] messageBodyBytes = <span style="color: #3933ff">"Hello, world!"</span>.getBytes();</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; min-height: 15px; "> </p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">AMQP.BasicProperties.Builder bob = <span style="color: #931a68">new</span> AMQP.BasicProperties.Builder();</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">AMQP.BasicProperties minBasic = bob.build();</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">minBasic = bob.priority(0).messageId(<span style="color: #3933ff">"Test"</span>).build(); </p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">minBasic = bob.priority(0).deliveryMode(1).build(); </p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; min-height: 15px; "><br></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(147, 26, 104); ">while<span style="color: #000000"> (</span>true<span style="color: #000000">) {</span></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; min-height: 15px; "><br></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "> channel.basicPublish(<span style="color: #3933ff">"KipcastDirect"</span>, <span style="color: #3933ff">"KipcastRouting"</span>, minBasic, messageBodyBytes);</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "> System.<span style="color: #0326cc">out</span>.println(<span style="color: #3933ff">" [x] Sent "</span>);</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; min-height: 15px; "> </p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">}</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; min-height: 15px; "><br></p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; ">Messages are correctly sent to queue (I can see them on log) but an exception is raised and the route is stopped:</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">[ SimpleAsyncTaskExecutor-1] SpringAMQPConsumer WARN Caused by: [<span style="text-decoration: underline ; color: #011993">org.springframework.amqp.rabbit.listener.ListenerExecutionFailedException</span> - Listener threw exception]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(1, 25, 147); "><span style="text-decoration: underline">org.springframework.amqp.rabbit.listener.ListenerExecutionFailedException</span><span style="color: #000000">: Listener threw exception</span></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.wrapToListenerExecutionFailedExceptionIfNeeded(<span style="text-decoration: underline ; color: #011993">AbstractMessageListenerContainer.java:590</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(<span style="text-decoration: underline ; color: #011993">AbstractMessageListenerContainer.java:529</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(<span style="text-decoration: underline ; color: #011993">AbstractMessageListenerContainer.java:472</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$001(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:56</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$1.invokeListener(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:103</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(<span style="text-decoration: underline ; color: #011993">DelegatingMethodAccessorImpl.java:25</span>)[:1.6.0_37]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at java.lang.reflect.Method.invoke(<span style="text-decoration: underline ; color: #011993">Method.java:597</span>)[:1.6.0_37]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(<span style="text-decoration: underline ; color: #011993">AopUtils.java:309</span>)[spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(<span style="text-decoration: underline ; color: #011993">ReflectiveMethodInvocation.java:183</span>)[spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(<span style="text-decoration: underline ; color: #011993">ReflectiveMethodInvocation.java:150</span>)[spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor$MethodInvocationRetryCallback.doWithRetry(<span style="text-decoration: underline ; color: #011993">StatefulRetryOperationsInterceptor.java:173</span>)[spring-retry-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.retry.support.RetryTemplate.doExecute(<span style="text-decoration: underline ; color: #011993">RetryTemplate.java:239</span>)[spring-retry-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.retry.support.RetryTemplate.execute(<span style="text-decoration: underline ; color: #011993">RetryTemplate.java:186</span>)[spring-retry-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor.invoke(<span style="text-decoration: underline ; color: #011993">StatefulRetryOperationsInterceptor.java:145</span>)[spring-retry-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(<span style="text-decoration: underline ; color: #011993">ReflectiveMethodInvocation.java:172</span>)[spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(<span style="text-decoration: underline ; color: #011993">JdkDynamicAopProxy.java:202</span>)[spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at $Proxy46.invokeListener(Unknown Source)[:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.invokeListener(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:560</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(<span style="text-decoration: underline ; color: #011993">AbstractMessageListenerContainer.java:452</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:436</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:420</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$200(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:56</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:505</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre">        </span>at java.lang.Thread.run(<span style="text-decoration: underline ; color: #011993">Thread.java:680</span>)[:1.6.0_37]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; min-height: 15px; "></p><p style="margin-bottom: 0px; font-size: 11px; line-height: normal; ">[ SimpleAsyncTaskExecutor-1] erationsInterceptorFactoryBean WARN Message dropped on recovery: (Body:'Hello, world!'; ID:Test; Content:text/plain; Headers:{}; Exchange:KipcastDirect; RoutingKey:KipcastRouting; Reply:null; DeliveryMode:NON_PERSISTENT; DeliveryTag:2)</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; color: rgb(1, 25, 147); "><span style="text-decoration: underline">org.springframework.amqp.rabbit.listener.ListenerExecutionFailedException</span><span style="color: #000000">: Listener threw exception</span></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.wrapToListenerExecutionFailedExceptionIfNeeded(<span style="text-decoration: underline ; color: #011993">AbstractMessageListenerContainer.java:590</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(<span style="text-decoration: underline ; color: #011993">AbstractMessageListenerContainer.java:529</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(<span style="text-decoration: underline ; color: #011993">AbstractMessageListenerContainer.java:472</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$001(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:56</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$1.invokeListener(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:103</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(<span style="text-decoration: underline ; color: #011993">Native Method</span>)[:1.6.0_37]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke(<span style="text-decoration: underline ; color: #011993">NativeMethodAccessorImpl.java:39</span>)[:1.6.0_37]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(<span style="text-decoration: underline ; color: #011993">DelegatingMethodAccessorImpl.java:25</span>)[:1.6.0_37]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at java.lang.reflect.Method.invoke(<span style="text-decoration: underline ; color: #011993">Method.java:597</span>)[:1.6.0_37]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(<span style="text-decoration: underline ; color: #011993">AopUtils.java:309</span>)[spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(<span style="text-decoration: underline ; color: #011993">ReflectiveMethodInvocation.java:183</span>)[spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(<span style="text-decoration: underline ; color: #011993">ReflectiveMethodInvocation.java:150</span>)[spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor$MethodInvocationRetryCallback.doWithRetry(<span style="text-decoration: underline ; color: #011993">StatefulRetryOperationsInterceptor.java:173</span>)[spring-retry-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.retry.support.RetryTemplate.doExecute(<span style="text-decoration: underline ; color: #011993">RetryTemplate.java:239</span>)[spring-retry-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.retry.support.RetryTemplate.execute(<span style="text-decoration: underline ; color: #011993">RetryTemplate.java:186</span>)[spring-retry-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor.invoke(<span style="text-decoration: underline ; color: #011993">StatefulRetryOperationsInterceptor.java:145</span>)[spring-retry-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(<span style="text-decoration: underline ; color: #011993">ReflectiveMethodInvocation.java:172</span>)[spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(<span style="text-decoration: underline ; color: #011993">JdkDynamicAopProxy.java:202</span>)[spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at $Proxy46.invokeListener(Unknown Source)[:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.invokeListener(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:560</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(<span style="text-decoration: underline ; color: #011993">AbstractMessageListenerContainer.java:452</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:436</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:420</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.access$200(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:56</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(<span style="text-decoration: underline ; color: #011993">SimpleMessageListenerContainer.java:505</span>)[spring-rabbit-1.0.0.RELEASE.jar:]</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><span class="Apple-tab-span" style="white-space:pre">        </span>at java.lang.Thread.run(<span style="text-decoration: underline ; color: #011993">Thread.java:680</span>)[:1.6.0_37]</p><p style="margin-bottom: 0px; font-size: 11px; line-height: normal; "><br></p><p></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">What's wrong with that? What's the reason for which I must generate the Message ID?</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; min-height: 15px; "><br></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">thanks for your time, I really appreciate that.</p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; min-height: 15px; "><br></p>
<p style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Monaco; ">Andrea</p>