public final class MessageArgumentResolver extends Object implements ArgumentResolver<org.mule.runtime.api.message.Message>
ArgumentResolver which returns the Message associated with a given
ExecutionContext.
Notice that for this to work, the ExecutionContext has to be an instance of ExecutionContextAdapter
| Constructor and Description |
|---|
MessageArgumentResolver() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.message.Message |
resolve(org.mule.runtime.extension.api.runtime.operation.ExecutionContext executionContext)
Returns the
Message associated to the executionContext |
public org.mule.runtime.api.message.Message resolve(org.mule.runtime.extension.api.runtime.operation.ExecutionContext executionContext)
Message associated to the executionContextresolve in interface ArgumentResolver<org.mule.runtime.api.message.Message>executionContext - an ExecutionContextClassCastException - if executionContext is not an ExecutionContextAdapterCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.