public class OdeService extends ServiceBridge implements JbiMessageExchangeProcessor
Constructor and Description |
---|
OdeService(OdeContext odeContext,
Endpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Do the JBI endpoint activation.
|
void |
deactivate()
Deactivate endpoints in JBI.
|
int |
getCount() |
Endpoint |
getEndpoint() |
javax.jbi.servicedesc.ServiceEndpoint |
getExternalServiceEndpoint() |
javax.jbi.servicedesc.ServiceEndpoint |
getInternalServiceEndpoint() |
void |
onJbiMessageExchange(javax.jbi.messaging.MessageExchange jbiMex) |
void |
onResponse(MyRoleMessageExchange mex)
|
copyMexProperties, copyMexProperties
public OdeService(OdeContext odeContext, Endpoint endpoint) throws java.lang.Exception
java.lang.Exception
public int getCount()
public void activate() throws javax.jbi.JBIException
javax.jbi.JBIException
public void deactivate() throws javax.jbi.JBIException
javax.jbi.JBIException
public javax.jbi.servicedesc.ServiceEndpoint getInternalServiceEndpoint()
public javax.jbi.servicedesc.ServiceEndpoint getExternalServiceEndpoint()
public void onJbiMessageExchange(javax.jbi.messaging.MessageExchange jbiMex) throws javax.jbi.messaging.MessagingException
onJbiMessageExchange
in interface JbiMessageExchangeProcessor
javax.jbi.messaging.MessagingException
public void onResponse(MyRoleMessageExchange mex)
mex
- message exchangepublic Endpoint getEndpoint()