public class OutboundRoutingTestEvent extends Object implements MuleEvent
TIMEOUT_DO_NOT_WAIT, TIMEOUT_NOT_SET_VALUE, TIMEOUT_WAIT_FOREVER
Constructor and Description |
---|
OutboundRoutingTestEvent(MuleMessage message,
MuleSession session,
MuleContext muleContext) |
public OutboundRoutingTestEvent(MuleMessage message, MuleSession session, MuleContext muleContext) throws Exception
Exception
public MuleMessage getMessage()
getMessage
in interface MuleEvent
public MuleSession getSession()
getSession
in interface MuleEvent
public Credentials getCredentials()
getCredentials
in interface MuleEvent
public byte[] getMessageAsBytes() throws MuleException
getMessageAsBytes
in interface MuleEvent
MuleException
public String getMessageAsString() throws MuleException
getMessageAsString
in interface MuleEvent
MuleException
public String getMessageAsString(String encoding) throws MuleException
getMessageAsString
in interface MuleEvent
MuleException
public Object transformMessage() throws TransformerException
transformMessage
in interface MuleEvent
TransformerException
public <T> T transformMessage(Class<T> outputType) throws TransformerException
transformMessage
in interface MuleEvent
TransformerException
public <T> T transformMessage(DataType<T> outputType) throws TransformerException
transformMessage
in interface MuleEvent
TransformerException
@Deprecated public byte[] transformMessageToBytes() throws TransformerException
transformMessageToBytes
in interface MuleEvent
TransformerException
public String transformMessageToString() throws TransformerException
transformMessageToString
in interface MuleEvent
TransformerException
public Object getProperty(String name)
getProperty
in interface MuleEvent
public Object getProperty(String name, Object defaultValue)
getProperty
in interface MuleEvent
public boolean isStopFurtherProcessing()
isStopFurtherProcessing
in interface MuleEvent
public void setStopFurtherProcessing(boolean stopFurtherProcessing)
setStopFurtherProcessing
in interface MuleEvent
public int getTimeout()
getTimeout
in interface MuleEvent
public void setTimeout(int timeout)
setTimeout
in interface MuleEvent
public OutputStream getOutputStream()
getOutputStream
in interface MuleEvent
public String getEncoding()
getEncoding
in interface MuleEvent
public MuleContext getMuleContext()
getMuleContext
in interface MuleEvent
public FlowConstruct getFlowConstruct()
getFlowConstruct
in interface MuleEvent
public ProcessingTime getProcessingTime()
getProcessingTime
in interface MuleEvent
public MessageExchangePattern getExchangePattern()
getExchangePattern
in interface MuleEvent
public boolean isTransacted()
isTransacted
in interface MuleEvent
public URI getMessageSourceURI()
getMessageSourceURI
in interface MuleEvent
public String getMessageSourceName()
getMessageSourceName
in interface MuleEvent
public ReplyToHandler getReplyToHandler()
getReplyToHandler
in interface MuleEvent
public Object getReplyToDestination()
getReplyToDestination
in interface MuleEvent
public void captureReplyToDestination()
captureReplyToDestination
in interface MuleEvent
public boolean isSynchronous()
isSynchronous
in interface MuleEvent
public void setMessage(MuleMessage message)
setMessage
in interface MuleEvent
public DataType<?> getFlowVariableDataType(String key)
getFlowVariableDataType
in interface MuleEvent
public Object getFlowVariable(String key)
getFlowVariable
in interface MuleEvent
public void setFlowVariable(String key, Object value)
setFlowVariable
in interface MuleEvent
public void setFlowVariable(String key, Object value, DataType dataType)
setFlowVariable
in interface MuleEvent
public void removeFlowVariable(String key)
removeFlowVariable
in interface MuleEvent
public Set<String> getFlowVariableNames()
getFlowVariableNames
in interface MuleEvent
public void clearFlowVariables()
clearFlowVariables
in interface MuleEvent
public DataType<?> getSessionVariableDataType(String key)
getSessionVariableDataType
in interface MuleEvent
public Object getSessionVariable(String key)
getSessionVariable
in interface MuleEvent
public void setSessionVariable(String key, Object value)
setSessionVariable
in interface MuleEvent
public void setSessionVariable(String key, Serializable value, DataType dataType)
setSessionVariable
in interface MuleEvent
public void removeSessionVariable(String key)
removeSessionVariable
in interface MuleEvent
public Set<String> getSessionVariableNames()
getSessionVariableNames
in interface MuleEvent
public void clearSessionVariables()
clearSessionVariables
in interface MuleEvent
public boolean isNotificationsEnabled()
isNotificationsEnabled
in interface MuleEvent
public void setEnableNotifications(boolean enabled)
setEnableNotifications
in interface MuleEvent
public boolean isAllowNonBlocking()
isAllowNonBlocking
in interface MuleEvent
public FlowCallStack getFlowCallStack()
getFlowCallStack
in interface MuleEvent
public ProcessorsTrace getProcessorsTrace()
getProcessorsTrace
in interface MuleEvent
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.