I plan to use SI for different client applications.
Each application has its own set of adapters for example:
APP1 has mail and smpp adapter
APP2 has file and mail adapter
APP3 has mail, smpp and file adapter.
Upon the transformation the message processing is more less the same for each application.
It looks sound to me to have the same integration.xml for all applications,
since transformer supports all inbound types, only by changing method parameter type. No need to say how much I like this feature in SI
Now the question is: what would be the best way to turn off existing adapters, if they are not needed?
In other words if I don't want APP1 to poll file system, how I can turn off inbound file adapter either in xml (with some dynamically resolved property value) or in initialisation time inside SpringContextLoaderListener?
Thanks very much for any hint in advance,