...
Features:
- jsr181 annotations
- jaxb2 binding/aegis/xmlbeans databinding
- wsdl auto generation
- java proxy support
- MTOM / attachments support
...
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) | useXmlBeans | boolean | Specifies if the endpoint use xmlbeans databinding to marshell/unmarshell message | no (defaults to false) | useAegis | boolean | Specifies if the endpoint use aegis databinding to marshell/unmarshell message | no (defaults to false), generally we use aegis databinding with simple frontend | pojoService | QName | Specifies the servicemodel service name generated from the pojo | no (will be auto-generated if not specified) | pojoEndpoint | QName | Specifies the servicemodel endpoint name generated from the pojo | no (will be auto-generated if not specified) pojoService and pojoEndpoint can control the servicemodel generated from pojo, it's equivalent to the annotation in java code, but it's useful when you can't change the java code |
|
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:
...