|
||||||||||
| 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.OutputType
org.apache.camel.model.TryType
public class TryType
| 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 | |
|---|---|
TryType()
|
|
| Method Summary | |
|---|---|
void |
addOutput(ProcessorType output)
|
protected void |
checkInitialized()
Checks whether or not this object has been initialized |
Processor |
createProcessor(RouteContext routeContext)
|
List<CatchType> |
getCatchClauses()
|
FinallyType |
getFinallyClause()
|
List<ProcessorType> |
getOutputsWithoutCatches()
|
CatchType |
handle(Class<?> exceptionType)
|
FinallyType |
handleAll()
|
TryType |
process(Processor processor)
Adds the custom processor to this destination which could be a final destination, or could be a transformation in a pipeline |
void |
setOutputs(List<ProcessorType> outputs)
|
TryType |
to(Collection<Endpoint> endpoints)
Sends the exchange to a list of endpoint using the MulticastProcessor pattern |
TryType |
to(Endpoint... endpoints)
Sends the exchange to a list of endpoints using the MulticastProcessor pattern |
TryType |
to(Endpoint endpoint)
Sends the exchange to the given endpoint |
TryType |
to(String... uris)
Sends the exchange to a list of endpoints using the MulticastProcessor pattern |
TryType |
to(String uri)
Sends the exchange to the given endpoint URI |
String |
toString()
|
| Methods inherited from class org.apache.camel.model.OutputType |
|---|
configureChild, getInterceptors, getOutputs, setInterceptors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TryType()
| Method Detail |
|---|
public String toString()
toString in class Object
public Processor createProcessor(RouteContext routeContext)
throws Exception
createProcessor in class ProcessorTypeExceptionpublic CatchType handle(Class<?> exceptionType)
public FinallyType handleAll()
public TryType process(Processor processor)
ProcessorType
process in class ProcessorTypepublic TryType to(Endpoint endpoint)
ProcessorType
to in class ProcessorTypepublic TryType to(Collection<Endpoint> endpoints)
ProcessorTypeMulticastProcessor pattern
to in class ProcessorTypepublic TryType to(Endpoint... endpoints)
ProcessorTypeMulticastProcessor pattern
to in class ProcessorTypepublic TryType to(String uri)
ProcessorType
to in class ProcessorTypepublic TryType to(String... uris)
ProcessorTypeMulticastProcessor pattern
to in class ProcessorTypepublic List<CatchType> getCatchClauses()
public FinallyType getFinallyClause()
public List<ProcessorType> getOutputsWithoutCatches()
public void setOutputs(List<ProcessorType> outputs)
setOutputs in class OutputTypepublic void addOutput(ProcessorType output)
addOutput in class ProcessorTypeprotected void checkInitialized()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||