This component demonstrates how to set schema specified in the Custom Property Sheet on the output port.
The schema is provided in the CPS, which is set on the output port when finished. By default, there is no business logic or send logic implemented in the component's code. So it does not send out any message to the output port.
Changes required to use a different CPS
PortSchemaPM.java: This is the class which has the logic to set the schema on the output port. CPSHelper object is used to set schema on the ports.
Two constructors are added in PortSchemaPM class as shown below:
The UI for the component is handled in the package com.fiorano.edbc.portschema.editors and the schema is stored using the class
The service-export ant task in the component's common.xml file should be changed as follows.
The following changes are made in Service refs in the component's ServiceDescriptor.xml file.