org.apache.camel.builder
Class AdviceWithTasks

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

public final class AdviceWithTasks
extends Object

AdviceWithTask tasks which are used by the AdviceWithRouteBuilder.


Method Summary
static AdviceWithTask afterById(RouteDefinition route, String id, ProcessorDefinition<?> after, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo)
           
static AdviceWithTask afterByToString(RouteDefinition route, String toString, ProcessorDefinition<?> after, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo)
           
static AdviceWithTask afterByType(RouteDefinition route, Class<?> type, ProcessorDefinition<?> after, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo)
           
static AdviceWithTask beforeById(RouteDefinition route, String id, ProcessorDefinition<?> before, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo)
           
static AdviceWithTask beforeByToString(RouteDefinition route, String toString, ProcessorDefinition<?> before, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo)
           
static AdviceWithTask beforeByType(RouteDefinition route, Class<?> type, ProcessorDefinition<?> before, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo)
           
static AdviceWithTask removeById(RouteDefinition route, String id, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo)
           
static AdviceWithTask removeByToString(RouteDefinition route, String toString, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo)
           
static AdviceWithTask removeByType(RouteDefinition route, Class<?> type, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo)
           
static AdviceWithTask replaceById(RouteDefinition route, String id, ProcessorDefinition<?> replace, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo)
           
static AdviceWithTask replaceByToString(RouteDefinition route, String toString, ProcessorDefinition<?> replace, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo)
           
static AdviceWithTask replaceByType(RouteDefinition route, Class<?> type, ProcessorDefinition<?> replace, boolean selectFirst, boolean selectLast, int selectFrom, int selectTo)
           
static AdviceWithTask replaceFrom(RouteDefinition route, Endpoint endpoint)
           
static AdviceWithTask replaceFromWith(RouteDefinition route, String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

replaceByToString

public static AdviceWithTask replaceByToString(RouteDefinition route,
                                               String toString,
                                               ProcessorDefinition<?> replace,
                                               boolean selectFirst,
                                               boolean selectLast,
                                               int selectFrom,
                                               int selectTo)

replaceById

public static AdviceWithTask replaceById(RouteDefinition route,
                                         String id,
                                         ProcessorDefinition<?> replace,
                                         boolean selectFirst,
                                         boolean selectLast,
                                         int selectFrom,
                                         int selectTo)

replaceByType

public static AdviceWithTask replaceByType(RouteDefinition route,
                                           Class<?> type,
                                           ProcessorDefinition<?> replace,
                                           boolean selectFirst,
                                           boolean selectLast,
                                           int selectFrom,
                                           int selectTo)

removeByToString

public static AdviceWithTask removeByToString(RouteDefinition route,
                                              String toString,
                                              boolean selectFirst,
                                              boolean selectLast,
                                              int selectFrom,
                                              int selectTo)

removeById

public static AdviceWithTask removeById(RouteDefinition route,
                                        String id,
                                        boolean selectFirst,
                                        boolean selectLast,
                                        int selectFrom,
                                        int selectTo)

removeByType

public static AdviceWithTask removeByType(RouteDefinition route,
                                          Class<?> type,
                                          boolean selectFirst,
                                          boolean selectLast,
                                          int selectFrom,
                                          int selectTo)

beforeByToString

public static AdviceWithTask beforeByToString(RouteDefinition route,
                                              String toString,
                                              ProcessorDefinition<?> before,
                                              boolean selectFirst,
                                              boolean selectLast,
                                              int selectFrom,
                                              int selectTo)

beforeById

public static AdviceWithTask beforeById(RouteDefinition route,
                                        String id,
                                        ProcessorDefinition<?> before,
                                        boolean selectFirst,
                                        boolean selectLast,
                                        int selectFrom,
                                        int selectTo)

beforeByType

public static AdviceWithTask beforeByType(RouteDefinition route,
                                          Class<?> type,
                                          ProcessorDefinition<?> before,
                                          boolean selectFirst,
                                          boolean selectLast,
                                          int selectFrom,
                                          int selectTo)

afterByToString

public static AdviceWithTask afterByToString(RouteDefinition route,
                                             String toString,
                                             ProcessorDefinition<?> after,
                                             boolean selectFirst,
                                             boolean selectLast,
                                             int selectFrom,
                                             int selectTo)

afterById

public static AdviceWithTask afterById(RouteDefinition route,
                                       String id,
                                       ProcessorDefinition<?> after,
                                       boolean selectFirst,
                                       boolean selectLast,
                                       int selectFrom,
                                       int selectTo)

afterByType

public static AdviceWithTask afterByType(RouteDefinition route,
                                         Class<?> type,
                                         ProcessorDefinition<?> after,
                                         boolean selectFirst,
                                         boolean selectLast,
                                         int selectFrom,
                                         int selectTo)

replaceFromWith

public static AdviceWithTask replaceFromWith(RouteDefinition route,
                                             String uri)

replaceFrom

public static AdviceWithTask replaceFrom(RouteDefinition route,
                                         Endpoint endpoint)


Apache CAMEL