This component is aimed at demonstrating the in memory launch of the component.
By default, this component sends the message received on its input port onto the output port.
Changes required to support in-memory launch
- The class com.fiorano.edbc.inmemorylaunch.InmemoryLaunch implements fiorano.esb.util.InMemoryLaunchable interface by providing the methods startup(String args) and stop().
- The attribute 'supported' for the element 'launchtype' in ServiceDescriptor.xml file is set as "7".
The service-export ant task (present in the target /deploy/) in the component's common.xml file is changed as shown below:
Under "servicerefs" element, make the following service reference changes:
Send logic is implemented in the onMessage(..) method to send message onto the output port.
By default, it sends the message received at the input port to the output port.