public class Target
extends java.lang.Object
Constructor and Description |
---|
Target() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
getEndpoint() |
java.lang.String |
getEndpointRef() |
SequenceMediator |
getSequence() |
java.lang.String |
getSequenceRef() |
java.lang.String |
getSoapAction() |
java.lang.String |
getToAddress() |
boolean |
isAsynchronous() |
boolean |
mediate(MessageContext synCtx)
process the message through this target (may be to mediate
using the target sequence, send message to the target endpoint or both)
|
void |
setAsynchronous(boolean asynchronous) |
void |
setEndpoint(Endpoint endpoint) |
void |
setEndpointRef(java.lang.String endpointRef) |
void |
setSequence(SequenceMediator sequence) |
void |
setSequenceRef(java.lang.String sequenceRef) |
void |
setSoapAction(java.lang.String soapAction) |
void |
setStatisticIdForMediators(ArtifactHolder holder) |
void |
setToAddress(java.lang.String toAddress) |
public boolean mediate(MessageContext synCtx)
synCtx
- - MessageContext to be mediatedfalse
if the target is mediated as synchronous and the sequence
mediation returns false
, true
otherwisepublic java.lang.String getToAddress()
public void setToAddress(java.lang.String toAddress)
public java.lang.String getSoapAction()
public void setSoapAction(java.lang.String soapAction)
public SequenceMediator getSequence()
public void setSequence(SequenceMediator sequence)
public java.lang.String getSequenceRef()
public void setSequenceRef(java.lang.String sequenceRef)
public Endpoint getEndpoint()
public void setEndpoint(Endpoint endpoint)
public java.lang.String getEndpointRef()
public void setEndpointRef(java.lang.String endpointRef)
public void setAsynchronous(boolean asynchronous)
public boolean isAsynchronous()
public void setStatisticIdForMediators(ArtifactHolder holder)
Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.