public final class ProcessorChainValueResolver extends Object implements ValueResolver<org.mule.runtime.extension.api.runtime.route.Chain>
ValueResolver which wraps the given Processor in a Chain,
using the event of the current ValueResolvingContext.
This resolver returns new instances per every invocation| Constructor and Description |
|---|
ProcessorChainValueResolver(List<Processor> processors) |
ProcessorChainValueResolver(MessageProcessorChain chain) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDynamic()
Returns
false if subsequent invocations to ValueResolver.resolve(ValueResolvingContext) will return the same value. |
org.mule.runtime.extension.api.runtime.route.Chain |
resolve(ValueResolvingContext context)
|
public ProcessorChainValueResolver(MessageProcessorChain chain)
public org.mule.runtime.extension.api.runtime.route.Chain resolve(ValueResolvingContext context) throws org.mule.runtime.api.exception.MuleException
resolve in interface ValueResolver<org.mule.runtime.extension.api.runtime.route.Chain>context - a ValueResolvingContextChainorg.mule.runtime.api.exception.MuleExceptionpublic boolean isDynamic()
ValueResolverfalse if subsequent invocations to ValueResolver.resolve(ValueResolvingContext) will return the same value.
Notice that if it returns true, then it might return different values per invocation but that's not guaranteed.isDynamic in interface ValueResolver<org.mule.runtime.extension.api.runtime.route.Chain>falseCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.