org.apache.synapse.mediators.eip
Class Target
java.lang.Object
org.apache.synapse.mediators.eip.Target
public class Target
- extends Object
A bean class that holds the target (i.e. sequence or endpoint) information for a message
as used by common EIP mediators
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Target
public Target()
mediate
public 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)
- Parameters:
synCtx
- - MessageContext to be mediated
- Returns:
false
if the target is mediated as synchronous and the sequence
mediation returns false
, true
otherwise
getToAddress
public String getToAddress()
setToAddress
public void setToAddress(String toAddress)
getSoapAction
public String getSoapAction()
setSoapAction
public void setSoapAction(String soapAction)
getSequence
public SequenceMediator getSequence()
setSequence
public void setSequence(SequenceMediator sequence)
getSequenceRef
public String getSequenceRef()
setSequenceRef
public void setSequenceRef(String sequenceRef)
getEndpoint
public Endpoint getEndpoint()
setEndpoint
public void setEndpoint(Endpoint endpoint)
getEndpointRef
public String getEndpointRef()
setEndpointRef
public void setEndpointRef(String endpointRef)
setAsynchronous
public void setAsynchronous(boolean asynchronous)
isAsynchronous
public boolean isAsynchronous()
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.