org.apache.camel.builder
Class ChoicePredicateBuilder<E extends Exchange>

java.lang.Object
  extended by org.apache.camel.builder.BuilderSupport<E>
      extended by org.apache.camel.builder.DestinationBuilder<E>
          extended by org.apache.camel.builder.PredicateBuilder<E>
              extended by org.apache.camel.builder.ChoicePredicateBuilder<E>
All Implemented Interfaces:
ProcessorBuilder<E>

public class ChoicePredicateBuilder<E extends Exchange>
extends PredicateBuilder<E>

Version:
$Revision: 519941 $

Constructor Summary
ChoicePredicateBuilder(ChoiceBuilder<E> parent, Predicate<E> predicate)
           
 
Method Summary
 ChoiceBuilder<E> to(Endpoint<E> endpoint)
          Sends the exchange to the given endpoint
 ChoiceBuilder<E> to(String uri)
          Sends the exchange to the given endpoint URI
 
Methods inherited from class org.apache.camel.builder.PredicateBuilder
and, createProcessor, getPredicate, or
 
Methods inherited from class org.apache.camel.builder.DestinationBuilder
addProcessBuilder, addProcessor, choice, endpoint, filter, getBuilder, getFrom, getProcessors, intercept, intercept, process, recipientList, to, to
 
Methods inherited from class org.apache.camel.builder.BuilderSupport
header
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChoicePredicateBuilder

public ChoicePredicateBuilder(ChoiceBuilder<E> parent,
                              Predicate<E> predicate)
Method Detail

to

public ChoiceBuilder<E> to(Endpoint<E> endpoint)
Description copied from class: DestinationBuilder
Sends the exchange to the given endpoint

Overrides:
to in class DestinationBuilder<E extends Exchange>

to

public ChoiceBuilder<E> to(String uri)
Description copied from class: DestinationBuilder
Sends the exchange to the given endpoint URI

Overrides:
to in class DestinationBuilder<E extends Exchange>


Copyright © 2007 Apache Software Foundation. All Rights Reserved.