...
Info |
---|
title | Endpoint attributes |
---|
borderStyle | solidbgColor='lightblue' |
---|
|
Name | Type | Description | Required |
---|
endpoint | String | JBI Endpoint name | no (will be auto-generated if not specified) | interfaceName | QName | Interface QName implemented by the JBI endpoint | no (will be auto-generated if not specified) | mtomEnabled | boolean | Enable MTOM / attachment support | no (defaults to false) | pojo | Object | the instanciated POJO to service requests | one of pojo or pojoClass | service | QName | JBI Service name | no (will be auto-generated if not specified) | useJBIWrapper | boolean | Specifies if the endpoint expects to receive the JBI wrapper in the message received from the NMR | no (defaults to true,Ignore the value of useSOAPEnvelope if useJBIWrapper is true) | useSOAPEnvelope | boolean | Specifies if the endpoint expects soap messages when useJBIWrapper is false | no (defaults to true) |
|
Accessing the JBI bus
The prefered way to access the JBI bus is by retrieving a ComponentContext implementation.
If you want to get ComponentContext implementation injected into your POJO, and send a request to another service from your POJO, you need add the following method on your POJO:
...