Spring inbound integration on cluster mode
<p>we are using spring inbound polling adapter to check for a file and process it. Problem is process is running multiple nodes in cluster mode. Our Test environment is using load balancing with two nodes, the requirement is to start this polling process on one node. How can we achieve this without creating two war files..? We are not supposed to use XML configuration.</p>