|
||||||||||
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, inheritErrorHandler, 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)
Override this in definition class and implement logic to create the processor based on the definition model. |
ToDefinition |
executorService(ExecutorService executorService)
Deprecated. |
ToDefinition |
executorServiceRef(String executorServiceRef)
Deprecated. |
ExecutorService |
getExecutorService()
Deprecated. |
String |
getExecutorServiceRef()
Deprecated. |
List<ProcessorDefinition> |
getOutputs()
|
ExchangePattern |
getPattern()
|
Integer |
getPoolSize()
Deprecated. |
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()
Deprecated. |
ToDefinition |
pattern(ExchangePattern pattern)
Sets the optional ExchangePattern used to invoke this endpoint |
ToDefinition |
poolSize(int poolSize)
Deprecated. |
void |
setAsync(Boolean async)
Deprecated. |
void |
setExecutorService(ExecutorService executorService)
Deprecated. |
void |
setExecutorServiceRef(String executorServiceRef)
Deprecated. |
void |
setPattern(ExchangePattern pattern)
Sets the optional ExchangePattern used to invoke this endpoint |
void |
setPoolSize(Integer poolSize)
Deprecated. |
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
ProcessorDefinition
createProcessor
in class SendDefinition<ToDefinition>
Exception
public String toString()
toString
in class Object
public String getShortName()
OptionalIdentifiedDefinition
getShortName
in class OptionalIdentifiedDefinition
public ExchangePattern getPattern()
getPattern
in class SendDefinition<ToDefinition>
@Deprecated public Boolean isAsync()
@Deprecated public void setAsync(Boolean async)
@Deprecated public Integer getPoolSize()
@Deprecated public void setPoolSize(Integer poolSize)
@Deprecated public ExecutorService getExecutorService()
ExecutorServiceAware
getExecutorService
in interface ExecutorServiceAware
@Deprecated public void setExecutorService(ExecutorService executorService)
ExecutorServiceAware
setExecutorService
in interface ExecutorServiceAware
executorService
- the executor@Deprecated public String getExecutorServiceRef()
ExecutorServiceAware
Registry
for the executor service to be used.
getExecutorServiceRef
in interface ExecutorServiceAware
@Deprecated public void setExecutorServiceRef(String executorServiceRef)
ExecutorServiceAware
Registry
for the executor service to be used.
setExecutorServiceRef
in interface ExecutorServiceAware
executorServiceRef
- reference for the executorpublic void setPattern(ExchangePattern pattern)
ExchangePattern
used to invoke this endpoint
public ToDefinition pattern(ExchangePattern pattern)
ExchangePattern
used to invoke this endpoint
@Deprecated public ToDefinition executorService(ExecutorService executorService)
ExecutorServiceAwareDefinition
executorService
in interface ExecutorServiceAwareDefinition<ToDefinition>
executorService
- the executor service
@Deprecated public ToDefinition executorServiceRef(String executorServiceRef)
ExecutorServiceAwareDefinition
executorServiceRef
in interface ExecutorServiceAwareDefinition<ToDefinition>
executorServiceRef
- reference for a ExecutorService
to lookup in the Registry
@Deprecated public ToDefinition poolSize(int poolSize)
ExecutorService
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |