public class MessageArgumentResolver extends Object implements ArgumentResolver<MuleMessage>
ArgumentResolver
which
returns the MuleMessage
associated with a given
OperationContext
.
Notice that for this to work, the OperationContext
has to be an instance of OperationContextAdapter
Constructor and Description |
---|
MessageArgumentResolver() |
Modifier and Type | Method and Description |
---|---|
MuleMessage |
resolve(org.mule.extension.runtime.OperationContext operationContext)
Resolves an argument's value from the given
operationContext |
public MuleMessage resolve(org.mule.extension.runtime.OperationContext operationContext)
ArgumentResolver
operationContext
resolve
in interface ArgumentResolver<MuleMessage>
operationContext
- an OperationContext
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.