The ESB profile of WSO2 Enterprise Integrator (WSO2 EI) supports several inbound endpoints, but there can be scenarios that require functionality not provided by the existing inbound endpoints. For example, you might need an inbound endpoint to connect to a certain back-end server or vendor specific protocol.
...
Custom listening inbound endpoint parameters
Parameter Name | Description | Required | Possible Values | Default Value |
---|---|---|---|---|
class | Name of the custom class implementation | Yes | A valid class name | n/a |
sequence |
Name of the sequence message that should be injected | Yes | A valid sequence name | n/a | |
onError | Name of the fault sequence that should be invoked in case of failure | Yes | A valid fault sequence name | n/a |
inbound.behavior | The behaviour of the inbound endpoint | Yes | listening | n/a |
You can download the maven artifact used in the sample custom listening inbound endpoint configuration above from Custom listening inbound endpoint sample .
...
Custom polling inbound endpoint parameters
Parameter Name | Description | Required | Possible Values | Default Value |
---|---|---|---|---|
class | Name of the custom class implementation | Yes | A valid class name | n/a |
You can download the maven artifact used in the sample custom polling inbound endpoint configuration above from Custom polling inbound endpoint sample.
...
Custom event-based inbound endpoint parameters
Parameter Name | Description | Required | Possible Values | Default Value |
---|---|---|---|---|
class | Name of the custom class implementation | Yes | A valid class name | n/a |
sequence |
Name of the sequence message that should be injected | Yes | A valid sequence name | n/a | |
onError |
Name of the fault sequence that should be invoked in case of failure | Yes | A valid fault sequence name | n/a | |
inbound.behavior | The behaviour of the inbound endpoint | Yes | event-based | n/a |
You can download the maven artifact used in the sample custom event-based inbound endpoint configuration above from Custom event-based inbound endpoint sample .
You need to copy the built jar file to the <EI_HOME>/lib
directory and restart the WSO2 EI to load the class.