|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InternalExchange
| Method Summary | |
|---|---|
java.util.concurrent.Semaphore |
getConsumerLock(boolean create)
|
InternalEndpoint |
getDestination()
Retrieve the destination endpoint, i.e. |
java.util.concurrent.Semaphore |
getProviderLock(boolean create)
|
InternalEndpoint |
getSource()
Retrieve the source endpoint. |
void |
setDestination(InternalEndpoint destination)
Set the destination endpoint. |
void |
setRole(Role role)
Set the role of the exchange. |
void |
setSource(InternalEndpoint source)
Set the source endpoint. |
| Methods inherited from interface org.apache.servicemix.nmr.api.Exchange |
|---|
cancel, copy, copyFrom, display, ensureReReadable, getError, getFault, getFault, getId, getIn, getIn, getMessage, getMessage, getOperation, getOut, getOut, getPattern, getProperties, getProperty, getProperty, getProperty, getRole, getStatus, getTarget, removeProperty, removeProperty, setError, setFault, setIn, setMessage, setOperation, setOut, setProperties, setProperty, setProperty, setStatus, setTarget |
| Method Detail |
|---|
void setRole(Role role)
role - the new roleInternalEndpoint getSource()
Channel.send(Exchange),
Channel.sendSync(Exchange) or
Channel.sendSync(Exchange, long)
void setSource(InternalEndpoint source)
Channel
source - the source endpointInternalEndpoint getDestination()
InternalChannel.deliver(InternalExchange)
method, just before calling the listeners and actually delegating to the Endpoint for processing.
void setDestination(InternalEndpoint destination)
InternalChannel.deliver(InternalExchange)
destination - the destination endpointjava.util.concurrent.Semaphore getConsumerLock(boolean create)
java.util.concurrent.Semaphore getProviderLock(boolean create)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||