|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Endpoint
Represents an endpoint to expose in the NMR. Exposing an endpoint in the NMR is done using the (@link EndpointRegistry}. The endpoint will be given Exchange to process and must be prepared to be given several exchanges concurrently for processing.
| Field Summary | |
|---|---|
static java.lang.String |
ENDPOINT_NAME
Meta-data key for the endpoint name |
static java.lang.String |
INTERFACE_NAME
Meta-data key for the interface name |
static java.lang.String |
NAME
Meta-data key for the unique endpoint name |
static java.lang.String |
SERVICE_NAME
Meta-data key for the service QName |
static java.lang.String |
UNTARGETABLE
If this property is set to true on a given
endpoint, it won't be used as a target for any exchange |
static java.lang.String |
VERSION
Meta-data for the version number of this endpoint |
static java.lang.String |
WSDL_URL
Meta-data key for the WSDL url |
| Method Summary | |
|---|---|
void |
process(Exchange exchange)
Process the given exchange. |
void |
setChannel(Channel channel)
Set the channel so that the endpoint can send exchanges back when they are processed or act as a consumer itself. |
| Field Detail |
|---|
static final java.lang.String NAME
static final java.lang.String INTERFACE_NAME
static final java.lang.String SERVICE_NAME
static final java.lang.String ENDPOINT_NAME
static final java.lang.String WSDL_URL
static final java.lang.String VERSION
static final java.lang.String UNTARGETABLE
true on a given
endpoint, it won't be used as a target for any exchange
| Method Detail |
|---|
void setChannel(Channel channel)
channel - the channel that this endpoint can useEndpointRegistry.register(Endpoint, java.util.Map)void process(Exchange exchange)
exchange - the exchange to process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||