org.mule.routing.outbound
Class OutboundRoutingTestEvent
java.lang.Object
org.mule.routing.outbound.OutboundRoutingTestEvent
- All Implemented Interfaces:
- Serializable, MuleEvent
public class OutboundRoutingTestEvent
- extends Object
- implements MuleEvent
An event used for outbound routing tests. It is not fully fleshed out, containing only the information
needed for routing.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutboundRoutingTestEvent
public OutboundRoutingTestEvent(MuleMessage message,
MuleSession session,
MuleContext muleContext)
throws Exception
- Throws:
Exception
getMessage
public MuleMessage getMessage()
- Specified by:
getMessage
in interface MuleEvent
getSession
public MuleSession getSession()
- Specified by:
getSession
in interface MuleEvent
getCredentials
public Credentials getCredentials()
- Specified by:
getCredentials
in interface MuleEvent
getMessageAsBytes
public byte[] getMessageAsBytes()
throws MuleException
- Specified by:
getMessageAsBytes
in interface MuleEvent
- Throws:
MuleException
getMessageAsString
public String getMessageAsString()
throws MuleException
- Specified by:
getMessageAsString
in interface MuleEvent
- Throws:
MuleException
getMessageAsString
public String getMessageAsString(String encoding)
throws MuleException
- Specified by:
getMessageAsString
in interface MuleEvent
- Throws:
MuleException
transformMessage
public Object transformMessage()
throws TransformerException
- Specified by:
transformMessage
in interface MuleEvent
- Throws:
TransformerException
transformMessage
public <T> T transformMessage(Class<T> outputType)
throws TransformerException
- Specified by:
transformMessage
in interface MuleEvent
- Throws:
TransformerException
transformMessage
public <T> T transformMessage(DataType<T> outputType)
throws TransformerException
- Specified by:
transformMessage
in interface MuleEvent
- Throws:
TransformerException
transformMessageToBytes
@Deprecated
public byte[] transformMessageToBytes()
throws TransformerException
- Deprecated.
- Specified by:
transformMessageToBytes
in interface MuleEvent
- Throws:
TransformerException
transformMessageToString
public String transformMessageToString()
throws TransformerException
- Specified by:
transformMessageToString
in interface MuleEvent
- Throws:
TransformerException
getId
public String getId()
- Specified by:
getId
in interface MuleEvent
getProperty
public Object getProperty(String name)
- Specified by:
getProperty
in interface MuleEvent
getProperty
public Object getProperty(String name,
Object defaultValue)
- Specified by:
getProperty
in interface MuleEvent
isStopFurtherProcessing
public boolean isStopFurtherProcessing()
- Specified by:
isStopFurtherProcessing
in interface MuleEvent
setStopFurtherProcessing
public void setStopFurtherProcessing(boolean stopFurtherProcessing)
- Specified by:
setStopFurtherProcessing
in interface MuleEvent
getTimeout
public int getTimeout()
- Specified by:
getTimeout
in interface MuleEvent
setTimeout
public void setTimeout(int timeout)
- Specified by:
setTimeout
in interface MuleEvent
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStream
in interface MuleEvent
getEncoding
public String getEncoding()
- Specified by:
getEncoding
in interface MuleEvent
getMuleContext
public MuleContext getMuleContext()
- Specified by:
getMuleContext
in interface MuleEvent
getFlowConstruct
public FlowConstruct getFlowConstruct()
- Specified by:
getFlowConstruct
in interface MuleEvent
getProcessingTime
public ProcessingTime getProcessingTime()
- Specified by:
getProcessingTime
in interface MuleEvent
getExchangePattern
public MessageExchangePattern getExchangePattern()
- Specified by:
getExchangePattern
in interface MuleEvent
isTransacted
public boolean isTransacted()
- Specified by:
isTransacted
in interface MuleEvent
getMessageSourceURI
public URI getMessageSourceURI()
- Specified by:
getMessageSourceURI
in interface MuleEvent
getMessageSourceName
public String getMessageSourceName()
- Specified by:
getMessageSourceName
in interface MuleEvent
getReplyToHandler
public ReplyToHandler getReplyToHandler()
- Specified by:
getReplyToHandler
in interface MuleEvent
getReplyToDestination
public Object getReplyToDestination()
- Specified by:
getReplyToDestination
in interface MuleEvent
captureReplyToDestination
public void captureReplyToDestination()
- Specified by:
captureReplyToDestination
in interface MuleEvent
isSynchronous
public boolean isSynchronous()
- Specified by:
isSynchronous
in interface MuleEvent
setMessage
public void setMessage(MuleMessage message)
- Specified by:
setMessage
in interface MuleEvent
getFlowVariable
public Object getFlowVariable(String key)
- Specified by:
getFlowVariable
in interface MuleEvent
setFlowVariable
public void setFlowVariable(String key,
Object value)
- Specified by:
setFlowVariable
in interface MuleEvent
removeFlowVariable
public void removeFlowVariable(String key)
- Specified by:
removeFlowVariable
in interface MuleEvent
getFlowVariableNames
public Set<String> getFlowVariableNames()
- Specified by:
getFlowVariableNames
in interface MuleEvent
clearFlowVariables
public void clearFlowVariables()
- Specified by:
clearFlowVariables
in interface MuleEvent
getSessionVariable
public Object getSessionVariable(String key)
- Specified by:
getSessionVariable
in interface MuleEvent
setSessionVariable
public void setSessionVariable(String key,
Object value)
- Specified by:
setSessionVariable
in interface MuleEvent
removeSessionVariable
public void removeSessionVariable(String key)
- Specified by:
removeSessionVariable
in interface MuleEvent
getSessionVariableNames
public Set<String> getSessionVariableNames()
- Specified by:
getSessionVariableNames
in interface MuleEvent
clearSessionVariables
public void clearSessionVariables()
- Specified by:
clearSessionVariables
in interface MuleEvent
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.