|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.model.OptionalIdentifiedDefinition
org.apache.camel.model.ProcessorDefinition<Type>
org.apache.camel.model.SendDefinition<ToDefinition>
org.apache.camel.model.ToDefinition
public class ToDefinition
Represents an XML <to/> element
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.model.SendDefinition |
|---|
endpoint, ref, uri |
| Fields inherited from class org.apache.camel.model.ProcessorDefinition |
|---|
errorHandlerBuilder, errorHandlerRef, log |
| Constructor Summary | |
|---|---|
ToDefinition()
|
|
ToDefinition(Endpoint endpoint)
|
|
ToDefinition(Endpoint endpoint,
ExchangePattern pattern)
|
|
ToDefinition(String uri)
|
|
ToDefinition(String uri,
ExchangePattern pattern)
|
|
| Method Summary | |
|---|---|
Processor |
createProcessor(RouteContext routeContext)
|
ToDefinition |
executorService(ExecutorService executorService)
Setting the executor service for executing the async routing. |
ToDefinition |
executorServiceRef(String executorServiceRef)
Setting the executor service for executing the async routing. |
ExecutorService |
getExecutorService()
|
String |
getExecutorServiceRef()
|
List<ProcessorDefinition> |
getOutputs()
|
ExchangePattern |
getPattern()
|
Integer |
getPoolSize()
|
String |
getShortName()
Returns a short name for this node which can be useful for ID generation or referring to related resources like images |
Boolean |
isAsync()
|
ToDefinition |
poolSize(int poolSize)
Setting the core pool size for the underlying ExecutorService. |
void |
setAsync(Boolean async)
|
void |
setExecutorService(ExecutorService executorService)
|
void |
setExecutorServiceRef(String executorServiceRef)
|
void |
setPattern(ExchangePattern pattern)
Sets the optional ExchangePattern used to invoke this endpoint |
void |
setPoolSize(Integer poolSize)
|
String |
toString()
|
| Methods inherited from class org.apache.camel.model.SendDefinition |
|---|
getEndpoint, getLabel, getRef, getUri, getUriOrRef, resolveEndpoint, setEndpoint, setRef, setUri |
| Methods inherited from class org.apache.camel.model.OptionalIdentifiedDefinition |
|---|
description, getDescription, getId, hasCustomIdAssigned, idOrCreate, setDescription, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ToDefinition()
public ToDefinition(String uri)
public ToDefinition(Endpoint endpoint)
public ToDefinition(String uri,
ExchangePattern pattern)
public ToDefinition(Endpoint endpoint,
ExchangePattern pattern)
| Method Detail |
|---|
public List<ProcessorDefinition> getOutputs()
getOutputs in class SendDefinition<ToDefinition>
public Processor createProcessor(RouteContext routeContext)
throws Exception
createProcessor in class SendDefinition<ToDefinition>Exceptionpublic String toString()
toString in class Objectpublic String getShortName()
OptionalIdentifiedDefinition
getShortName in class OptionalIdentifiedDefinitionpublic ExchangePattern getPattern()
getPattern in class SendDefinition<ToDefinition>public Boolean isAsync()
public void setAsync(Boolean async)
public Integer getPoolSize()
public void setPoolSize(Integer poolSize)
public ExecutorService getExecutorService()
public void setExecutorService(ExecutorService executorService)
public String getExecutorServiceRef()
public void setExecutorServiceRef(String executorServiceRef)
public void setPattern(ExchangePattern pattern)
ExchangePattern used to invoke this endpoint
public ToDefinition executorService(ExecutorService executorService)
public ToDefinition executorServiceRef(String executorServiceRef)
public ToDefinition poolSize(int poolSize)
ExecutorService.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||