[rabbitmq-discuss] Consumer/Listerner disconnect once message published to queue

Srinath Sridharan -X (srinatsr - ZENSAR TECHNOLOGIES INC at Cisco) srinatsr at cisco.com
Thu May 29 00:29:34 BST 2014


Hello,

After publishing a message to queue, the consumer getting disconnected.

Following is the listerner configuration.

<bean
              class="org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer">
             <property name="connectionFactory" ref="connectionFactory" />
             <property name="queueNames">
                    <array>
                           <value>validateRequestQueue</value>
                    </array>
             </property>
             <property name="messageListener">
                    <bean
                           class="org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter">
                           <property name="delegate" ref="validationListener" />
                    </bean>
             </property>
             <property name="adviceChain"
                    ref="statefulRetryOperationsInterceptorFactoryBean"></property>
             <property name="acknowledgeMode" value="NONE" />
       </bean>

Regards ...*
Srinath

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140528/cc548e23/attachment.html>


More information about the rabbitmq-discuss mailing list