title: Spring Integration <inbound-channel-adapter> Rabbit MQ getting disconnected
body: <p>We are working on a POC to use Spring integration and Rabbit MQ. 
  We have two modules producer module and consumer module both are runs in different JVMs.
  The Producer module listen on a Folder (input folder) as soon as new files arrives,  creates a message then push to (incoming.q.in) queue and also move to process folder. </p>
  
  <p>The Consumer module then pickups the messages from the incoming.q.in Queue then process the files them move to complete folder. </p>
  
  <p>Both Producer and Consumer code is working fine but after some ideal item then consumer module is getting disconnecting from Rabbit MQ. We see messages in incoming.q.in queue but the consumer is not processing.</p>
  
  <p>When I logged into Rabbit MQ Admin/Management tool “incoming.q.in” consumer list is empty and the message is “... no consumers ...”.<br>
    The consumer code </p>
  
  <pre><code>&lt;int-amqp:inbound-channel-adapter channel="inBoundfile" queue-names="incoming.q.in" connection-factory="connectionFactory"
      error-channel="error.in"&gt;
  &lt;/int-amqp:inbound-channel-adapter&gt;
  &lt;int:header-enricher input-channel="inBoundfile" output-channel="serviceInbound"&gt;
      &lt;int:header name="FILEID" expression="payload.fileID" /&gt;
  &lt;/int:header-enricher&gt;
  &lt;int:service-activator ref="routerService" method="processFile" input-channel="serviceInbound" output-channel="fileHandler.router.in" /&gt;
  ....
  </code></pre>
  
  <p>I appreciate your help.</p>