org.apache.camel.model
Class InterceptType

java.lang.Object
  extended by org.apache.camel.model.ProcessorType
      extended by org.apache.camel.model.OutputType
          extended by org.apache.camel.model.InterceptType

public class InterceptType
extends OutputType

Version:
$Revision: 1.1 $

Field Summary
 
Fields inherited from class org.apache.camel.model.OutputType
outputs
 
Fields inherited from class org.apache.camel.model.ProcessorType
DEFAULT_TRACE_CATEGORY
 
Constructor Summary
InterceptType()
           
 
Method Summary
 void addRoutes(RouteContext routeContext, Collection<Route> routes)
           
 String toString()
           
 OtherwiseType when(Predicate predicate)
          Applies this interceptor only if the given predicate is true
 
Methods inherited from class org.apache.camel.model.OutputType
configureChild, getInterceptors, getOutputs, setInterceptors, setOutputs
 
Methods inherited from class org.apache.camel.model.ProcessorType
addOutput, aggregator, aggregator, beanRef, beanRef, choice, convertBodyTo, convertOutBodyTo, createCompositeProcessor, createErrorHandlerBuilder, createOutputsProcessor, createOutputsProcessor, createProcessor, delayer, delayer, delayer, errorHandler, exception, filter, filter, filter, getErrorHandlerBuilder, getInheritErrorHandlerFlag, idempotentConsumer, inheritErrorHandler, intercept, intercept, intercept, interceptor, interceptors, isInheritErrorHandler, makeProcessor, multicast, pipeline, pipeline, pipeline, policies, policy, proceed, process, recipientList, resequencer, resequencer, resequencer, setBody, setErrorHandlerBuilder, setHeader, setInheritErrorHandlerFlag, setOutBody, setOutHeader, setProperty, splitter, throttler, to, to, to, to, to, trace, trace, tryBlock, wrapInErrorHandler, wrapProcessor, wrapProcessorInInterceptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterceptType

public InterceptType()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

addRoutes

public void addRoutes(RouteContext routeContext,
                      Collection<Route> routes)
               throws Exception
Overrides:
addRoutes in class ProcessorType
Throws:
Exception

when

public OtherwiseType when(Predicate predicate)
Applies this interceptor only if the given predicate is true



Copyright © 2007 Apache Software Foundation. All Rights Reserved.