|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceMixComponent
Represents an extended JBI Component implementation which exposes some extra features.
| Method Summary | |
|---|---|
javax.jbi.component.ComponentContext |
getComponentContext()
|
java.lang.String |
getComponentName()
|
Container |
getContainer()
|
javax.xml.namespace.QName |
getEPRElementName()
|
org.apache.servicemix.executors.Executor |
getExecutor(javax.jbi.messaging.MessageExchange.Role role)
|
org.slf4j.Logger |
getLogger()
|
Registry |
getRegistry()
|
java.lang.Object |
getSmx3Container()
|
void |
handleExchange(Endpoint endpoint,
javax.jbi.messaging.MessageExchange exchange,
boolean add)
Make the component aware of this exchange. |
void |
prepareExchange(javax.jbi.messaging.MessageExchange exchange,
Endpoint endpoint)
Prepare an exchange sent from the given endpoint. |
void |
prepareShutdown(Endpoint endpoint)
Prepare shutting the given endpoint down by waiting for all know exchanges for this endpoint to be fully processed. |
| Methods inherited from interface javax.jbi.component.Component |
|---|
getLifeCycle, getServiceDescription, getServiceUnitManager, isExchangeWithConsumerOkay, isExchangeWithProviderOkay, resolveEndpointReference |
| Method Detail |
|---|
org.slf4j.Logger getLogger()
Registry getRegistry()
org.apache.servicemix.executors.Executor getExecutor(javax.jbi.messaging.MessageExchange.Role role)
role - the role to use
javax.jbi.component.ComponentContext getComponentContext()
Container getContainer()
java.lang.Object getSmx3Container()
java.lang.String getComponentName()
void prepareExchange(javax.jbi.messaging.MessageExchange exchange,
Endpoint endpoint)
throws javax.jbi.messaging.MessagingException
exchange - the exchange to sendendpoint - the endpoint sending the exchange
javax.jbi.messaging.MessagingException
void prepareShutdown(Endpoint endpoint)
throws java.lang.InterruptedException
endpoint -
java.lang.InterruptedException
void handleExchange(Endpoint endpoint,
javax.jbi.messaging.MessageExchange exchange,
boolean add)
endpoint - exchange - add - javax.xml.namespace.QName getEPRElementName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||