org.apache.camel.builder
Class AdviceWithBuilder

java.lang.Object
  extended by org.apache.camel.builder.AdviceWithBuilder

public class AdviceWithBuilder
extends Object

A builder when using the advice with feature.


Constructor Summary
AdviceWithBuilder(AdviceWithRouteBuilder builder, String id, String toString)
           
 
Method Summary
 ProcessorDefinition after()
          Insert the following node(s) after the matched node(s)
 ProcessorDefinition before()
          Insert the following node(s) before the matched node(s)
 void remove()
          Removes the matched node(s)
 ProcessorDefinition replace()
          Replaces the matched node(s) with the following nodes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdviceWithBuilder

public AdviceWithBuilder(AdviceWithRouteBuilder builder,
                         String id,
                         String toString)
Method Detail

replace

public ProcessorDefinition replace()
Replaces the matched node(s) with the following nodes.

Returns:
the builder to build the nodes.

remove

public void remove()
Removes the matched node(s)


before

public ProcessorDefinition before()
Insert the following node(s) before the matched node(s)

Returns:
the builder to build the nodes.

after

public ProcessorDefinition after()
Insert the following node(s) after the matched node(s)

Returns:
the builder to build the nodes.


Apache CAMEL