public interface Endpoint
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Register this endpoint into the NMR and put the endpoint
in a STOPPED state, where the endpoint is able to process
incoming requests, but won't consume external requests such
as JMS messages or HTTP requests.
|
void |
deactivate()
Unregister this endpoint from the NMR.
|
org.w3c.dom.Document |
getDescription() |
java.lang.String |
getEndpoint() |
javax.xml.namespace.QName |
getInterfaceName() |
java.lang.String |
getKey() |
javax.jbi.messaging.MessageExchange.Role |
getRole() |
javax.xml.namespace.QName |
getService() |
ServiceUnit |
getServiceUnit() |
boolean |
isExchangeOkay(javax.jbi.messaging.MessageExchange exchange) |
void |
process(javax.jbi.messaging.MessageExchange exchange)
Process an incoming JBI exchange.
|
void |
setServiceUnit(ServiceUnit serviceUnit) |
void |
start()
Start consumption of external requests.
|
void |
stop()
Stop consumption of external requests.
|
void |
validate()
Validation is a step which is done at deployment time to check
that the endpoint definition is valid and that there is no
missing properties.
|
java.lang.String getKey()
javax.xml.namespace.QName getInterfaceName()
javax.xml.namespace.QName getService()
java.lang.String getEndpoint()
org.w3c.dom.Document getDescription()
javax.jbi.messaging.MessageExchange.Role getRole()
ServiceUnit getServiceUnit()
void setServiceUnit(ServiceUnit serviceUnit)
boolean isExchangeOkay(javax.jbi.messaging.MessageExchange exchange)
void activate()
throws java.lang.Exception
java.lang.Exceptionvoid start()
throws java.lang.Exception
java.lang.Exceptionvoid stop()
throws java.lang.Exception
java.lang.Exceptionvoid deactivate()
throws java.lang.Exception
java.lang.Exceptionvoid process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
exchange - java.lang.Exceptionvoid validate()
throws javax.jbi.management.DeploymentException
javax.jbi.management.DeploymentExceptionCopyright © 2005-2014 FuseSource. All Rights Reserved.