Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.routing
Class ExpressionSplitter

    java.lang.Object
      org.mule.processor.AbstractInterceptingMessageProcessor
          org.mule.routing.AbstractSplitter
              org.mule.routing.ExpressionSplitter

All Implemented Interfaces:
  MuleContextAware, Initialisable, InterceptingMessageProcessor, MessageProcessor, MessageSource

    public class ExpressionSplitter

extends AbstractSplitter
implements Initialisable

Splits a message using the expression provided invoking the next message processor one for each split part.

EIP Reference: `http://www.eaipatterns.com/Sequencer.html`

Field Summary
`protected ExpressionConfig` | `config`
`protected ExpressionManager` | `expressionManager`

Fields inherited from class org.mule.routing.AbstractSplitter
`enableCorrelation, messageInfoMapping, muleContext, resultsHandler`

Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
`logger, next`

Fields inherited from interface org.mule.api.lifecycle.Initialisable
`PHASE_NAME`

Constructor Summary
`ExpressionSplitter()`
`ExpressionSplitter(ExpressionConfig config)`

Method Summary
`String` | `getCustomEvaluator()`
`String` | `getEvaluator()`
`String` | `getExpression()`
`void` | `initialise()` Method used to perform any initialisation work.
`void` | `setCustomEvaluator(String customEvaluator)`
`void` | `setEvaluator(String evaluator)`
`void` | `setExpression(String expression)`
`protected List<MuleMessage>` | `splitMessage(MuleEvent event)`

Methods inherited from class org.mule.routing.AbstractSplitter
`isSplitRequired, process, processParts, setEnableCorrelation, setMessageInfoMapping, setMuleContext`

Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
`processNext, setListener, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### expressionManager

    protected ExpressionManager expressionManager

### config

    protected ExpressionConfig config

Constructor Detail

### ExpressionSplitter

    public ExpressionSplitter()

### ExpressionSplitter

    public ExpressionSplitter(ExpressionConfig config)

Method Detail

### initialise

    public void initialise()
                    throws InitialisationException

  Description copied from interface: `Initialisable`
  Method used to perform any initialisation work. If a fatal error occurs during initialisation an `InitialisationException` should be thrown, causing the Mule instance to shutdown. If the error is recoverable, say by retrying to connect, a `RecoverableException` should be thrown. There is no guarantee that by throwing a Recoverable exception that the Mule instance will not shut down.

  Specified by:
    `initialise` in interface `Initialisable`
  Throws:
    `InitialisationException` - if a fatal error occurs causing the Mule instance to shutdown
    `RecoverableException` - if an error occurs that can be recovered from

### splitMessage

    protected List<MuleMessage> splitMessage(MuleEvent event)

  Specified by:
    `splitMessage` in class `AbstractSplitter`

### getCustomEvaluator

    public String getCustomEvaluator()

### setCustomEvaluator

    public void setCustomEvaluator(String customEvaluator)

### getEvaluator

    public String getEvaluator()

### setEvaluator

    public void setEvaluator(String evaluator)

### getExpression

    public String getExpression()

### setExpression

    public void setExpression(String expression)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.