public class NullConduitSelector extends Object implements ConduitSelector
Constructor and Description |
---|
NullConduitSelector() |
Modifier and Type | Method and Description |
---|---|
void |
complete(Exchange exchange)
Called on completion of the MEP for which the Conduit was required.
|
Endpoint |
getEndpoint() |
void |
prepare(Message message)
Called prior to the interceptor chain being traversed.
|
Conduit |
selectConduit(Message message)
Called when a Conduit is actually required.
|
void |
setEndpoint(Endpoint ep) |
public void prepare(Message message)
prepare
in interface ConduitSelector
message
- the current Messagepublic Conduit selectConduit(Message message)
selectConduit
in interface ConduitSelector
message
- public void complete(Exchange exchange)
complete
in interface ConduitSelector
exchange
- represents the completed MEPpublic Endpoint getEndpoint()
getEndpoint
in interface ConduitSelector
public void setEndpoint(Endpoint ep)
setEndpoint
in interface ConduitSelector
ep
- the endpoint to encapsulateCopyright © 2016 JBoss by Red Hat. All rights reserved.