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 InterceptingChainMessageProcessorBuilder

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

All Implemented Interfaces:
  MessageProcessorBuilder

Direct Known Subclasses:
  EndpointInterceptingChainMessageProcessorBuilder

    public class InterceptingChainMessageProcessorBuilder

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 FlowConstruct` | `flowConstruct`
`protected String` | `name`
`protected List` | `processors`

Constructor Summary
`InterceptingChainMessageProcessorBuilder()`
`InterceptingChainMessageProcessorBuilder(FlowConstruct flowConstruct)`

Method Summary
`MessageProcessor` | `build()`
`InterceptingChainMessageProcessorBuilder` | `chain(List<MessageProcessor> processors)`
`InterceptingChainMessageProcessorBuilder` | `chain(MessageProcessor... processors)`
`InterceptingChainMessageProcessorBuilder` | `chain(MessageProcessorBuilder... builders)`
`InterceptingChainMessageProcessorBuilder` | `chainBefore(MessageProcessor processor)`
`InterceptingChainMessageProcessorBuilder` | `chainBefore(MessageProcessorBuilder builder)`
`protected MessageProcessor` | `initializeMessageProcessor(Object processor)`
`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

### flowConstruct

    protected FlowConstruct flowConstruct

Constructor Detail

### InterceptingChainMessageProcessorBuilder

    public InterceptingChainMessageProcessorBuilder()

### InterceptingChainMessageProcessorBuilder

    public InterceptingChainMessageProcessorBuilder(FlowConstruct flowConstruct)

Method Detail

### build

    public MessageProcessor build()
                           throws MuleException

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

### initializeMessageProcessor

    protected MessageProcessor initializeMessageProcessor(Object processor)
                                                   throws MuleException

  Throws:
    `MuleException`

### setName

    public void setName(String name)

### chain

    public InterceptingChainMessageProcessorBuilder chain(MessageProcessor... processors)

### chain

    public InterceptingChainMessageProcessorBuilder chain(List<MessageProcessor> processors)

### chain

    public InterceptingChainMessageProcessorBuilder chain(MessageProcessorBuilder... builders)

### chainBefore

    public InterceptingChainMessageProcessorBuilder chainBefore(MessageProcessor processor)

### chainBefore

    public InterceptingChainMessageProcessorBuilder chainBefore(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.