Monday, February 10, 2014

singleton ability in Inbound Adapters

Inbound Adapters have the property to read a file, it can be DB or File.

These adapters act bit differently when deployed to any clustered environment. Usually Performance and Production environments are clustered, in these the adapter will read the file in both the nodes. In order to suppress this behavior, we can add singleton property in composite.xml as follows:

 <binding.jca config="GetInputDetails_file.jca">
      <property name="singleton">true</property>
    </binding.jca>