|
||||||||||
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.NoOutputDefinition<Type>
org.apache.camel.model.SendDefinition<WireTapDefinition>
org.apache.camel.model.WireTapDefinition
public class WireTapDefinition
Represents an XML <wireTap/> 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 | |
---|---|
WireTapDefinition()
|
|
WireTapDefinition(Endpoint endpoint)
|
|
WireTapDefinition(String uri)
|
Method Summary | |
---|---|
Processor |
createProcessor(RouteContext routeContext)
Override this in definition class and implement logic to create the processor based on the definition model. |
ProcessorDefinition |
executorService(ExecutorService executorService)
Setting the executor service for executing |
ProcessorDefinition |
executorServiceRef(String executorServiceRef)
Setting the executor service for executing |
Boolean |
getCopy()
|
ExecutorService |
getExecutorService()
Gets the executor service |
String |
getExecutorServiceRef()
Gets the reference to lookup in the Registry for the executor service to be used. |
ExpressionSubElementDefinition |
getNewExchangeExpression()
|
Processor |
getNewExchangeProcessor()
|
String |
getNewExchangeProcessorRef()
|
ExchangePattern |
getPattern()
|
String |
getShortName()
Returns a short name for this node which can be useful for ID generation or referring to related resources like images |
boolean |
isCopy()
|
void |
setCopy(Boolean copy)
|
void |
setExecutorService(ExecutorService executorService)
Sets the executor service to be used. |
void |
setExecutorServiceRef(String executorServiceRef)
Sets a reference to lookup in the Registry for the executor service to be used. |
void |
setNewExchangeExpression(Expression expression)
|
void |
setNewExchangeExpression(ExpressionSubElementDefinition expression)
|
void |
setNewExchangeProcessor(Processor processor)
|
void |
setNewExchangeProcessorRef(String ref)
|
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.NoOutputDefinition |
---|
getOutputs, isOutputSupported |
Methods inherited from class org.apache.camel.model.OptionalIdentifiedDefinition |
---|
description, getDescription, getDescriptionText, 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 WireTapDefinition()
public WireTapDefinition(String uri)
public WireTapDefinition(Endpoint endpoint)
Method Detail |
---|
public Processor createProcessor(RouteContext routeContext) throws Exception
ProcessorDefinition
createProcessor
in class SendDefinition<WireTapDefinition>
Exception
public ExchangePattern getPattern()
getPattern
in class SendDefinition<WireTapDefinition>
public String toString()
toString
in class Object
public String getShortName()
OptionalIdentifiedDefinition
getShortName
in class OptionalIdentifiedDefinition
public ProcessorDefinition executorService(ExecutorService executorService)
ExecutorServiceAwareDefinition
executorService
in interface ExecutorServiceAwareDefinition<ProcessorDefinition>
executorService
- the executor service
public ProcessorDefinition executorServiceRef(String executorServiceRef)
ExecutorServiceAwareDefinition
executorServiceRef
in interface ExecutorServiceAwareDefinition<ProcessorDefinition>
executorServiceRef
- reference for a ExecutorService
to lookup in the Registry
public Processor getNewExchangeProcessor()
public void setNewExchangeProcessor(Processor processor)
public String getNewExchangeProcessorRef()
public void setNewExchangeProcessorRef(String ref)
public ExpressionSubElementDefinition getNewExchangeExpression()
public void setNewExchangeExpression(ExpressionSubElementDefinition expression)
public void setNewExchangeExpression(Expression expression)
public ExecutorService getExecutorService()
ExecutorServiceAware
getExecutorService
in interface ExecutorServiceAware
public void setExecutorService(ExecutorService executorService)
ExecutorServiceAware
setExecutorService
in interface ExecutorServiceAware
executorService
- the executorpublic String getExecutorServiceRef()
ExecutorServiceAware
Registry
for the executor service to be used.
getExecutorServiceRef
in interface ExecutorServiceAware
public void setExecutorServiceRef(String executorServiceRef)
ExecutorServiceAware
Registry
for the executor service to be used.
setExecutorServiceRef
in interface ExecutorServiceAware
executorServiceRef
- reference for the executorpublic Boolean getCopy()
public void setCopy(Boolean copy)
public boolean isCopy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |