|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.model.ProcessorType
org.apache.camel.model.ChoiceType
public class ChoiceType
Field Summary |
---|
Fields inherited from class org.apache.camel.model.ProcessorType |
---|
DEFAULT_TRACE_CATEGORY |
Constructor Summary | |
---|---|
ChoiceType()
|
Method Summary | |
---|---|
Processor |
createProcessor(RouteContext routeContext)
|
List<InterceptorType> |
getInterceptors()
|
OtherwiseType |
getOtherwise()
|
List<ProcessorType> |
getOutputs()
|
List<WhenType> |
getWhenClauses()
|
OtherwiseType |
otherwise()
|
ChoiceType |
proceed()
|
void |
setInterceptors(List<InterceptorType> interceptors)
|
void |
setOtherwise(OtherwiseType otherwise)
|
void |
setWhenClauses(List<WhenType> whenClauses)
|
ChoiceType |
to(Collection<Endpoint> endpoints)
Sends the exchange to a list of endpoint using the MulticastProcessor pattern |
ChoiceType |
to(Endpoint... endpoints)
Sends the exchange to a list of endpoints using the MulticastProcessor pattern |
ChoiceType |
to(Endpoint endpoint)
Sends the exchange to the given endpoint |
ChoiceType |
to(String... uris)
Sends the exchange to a list of endpoints using the MulticastProcessor pattern |
ChoiceType |
to(String uri)
Sends the exchange to the given endpoint URI |
String |
toString()
|
ChoiceType |
when(Predicate predicate)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChoiceType()
Method Detail |
---|
public String toString()
toString
in class Object
public Processor createProcessor(RouteContext routeContext) throws Exception
createProcessor
in class ProcessorType
Exception
public ChoiceType when(Predicate predicate)
public OtherwiseType otherwise()
public ChoiceType proceed()
proceed
in class ProcessorType
public ChoiceType to(Endpoint endpoint)
ProcessorType
to
in class ProcessorType
public ChoiceType to(Collection<Endpoint> endpoints)
ProcessorType
MulticastProcessor
pattern
to
in class ProcessorType
public ChoiceType to(Endpoint... endpoints)
ProcessorType
MulticastProcessor
pattern
to
in class ProcessorType
public ChoiceType to(String uri)
ProcessorType
to
in class ProcessorType
public ChoiceType to(String... uris)
ProcessorType
MulticastProcessor
pattern
to
in class ProcessorType
public List<WhenType> getWhenClauses()
public void setWhenClauses(List<WhenType> whenClauses)
public List<ProcessorType> getOutputs()
getOutputs
in class ProcessorType
public OtherwiseType getOtherwise()
public void setOtherwise(OtherwiseType otherwise)
public List<InterceptorType> getInterceptors()
getInterceptors
in class ProcessorType
public void setInterceptors(List<InterceptorType> interceptors)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |