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.processor.builder
Class IteratingListMessageProcessorBuilder

    java.lang.Object
      org.mule.processor.builder.IteratingListMessageProcessorBuilder

All Implemented Interfaces:
  MessageProcessorBuilder

    public class IteratingListMessageProcessorBuilder

extends Object
implements MessageProcessorBuilder

Constructs a chain of `MessageProcessor`s and wraps the invocation of the chain in a composite MessageProcessor. Both MessageProcessors and InterceptingMessageProcessor's can be chained together arbitrarily in a single chain. InterceptingMessageProcessors simply intercept the next MessageProcessor in the chain. When other non-intercepting MessageProcessors are used an adapter is used internally to chain the MessageProcessor with the next in the chain.

The MessageProcessor instance that this builder builds can be nested in other chains as required.

Field Summary
`protected String` | `name`
`protected List` | `processors`

Constructor Summary
`IteratingListMessageProcessorBuilder()`

Method Summary
`IteratingListMessageProcessorBuilder` | `add(MessageProcessor... processors)`
`IteratingListMessageProcessorBuilder` | `add(MessageProcessorBuilder... builders)`
`IteratingListMessageProcessorBuilder` | `addBefore(MessageProcessor processor)`
`IteratingListMessageProcessorBuilder` | `addBefore(MessageProcessorBuilder builder)`
`MessageProcessor` | `build()`
`IteratingListMessageProcessorBuilder` | `InterceptingChainMessageProcessorBuilder(Collection<MessageProcessor> processors)`
`void` | `setName(String name)`
`String` | `toString()`

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

Field Detail

### processors

    protected List processors

### name

    protected String name

Constructor Detail

### IteratingListMessageProcessorBuilder

    public IteratingListMessageProcessorBuilder()

Method Detail

### build

    public MessageProcessor build()
                           throws MuleException

  Specified by:
    `build` in interface `MessageProcessorBuilder`
  Throws:
    `MuleException`

### setName

    public void setName(String name)

### add

    public IteratingListMessageProcessorBuilder add(MessageProcessor... processors)

### add

    public IteratingListMessageProcessorBuilder add(MessageProcessorBuilder... builders)

### InterceptingChainMessageProcessorBuilder

    public IteratingListMessageProcessorBuilder InterceptingChainMessageProcessorBuilder(Collection<MessageProcessor> processors)

### addBefore

    public IteratingListMessageProcessorBuilder addBefore(MessageProcessor processor)

### addBefore

    public IteratingListMessageProcessorBuilder addBefore(MessageProcessorBuilder builder)

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

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.