|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.model.OptionalIdentifiedType<Type>
org.apache.camel.model.ProcessorDefinition<ProcessorDefinition>
org.apache.camel.model.ExpressionNode
org.apache.camel.model.IdempotentConsumerDefinition
public class IdempotentConsumerDefinition
Represents an XML <idempotentConsumer/> element
Field Summary |
---|
Fields inherited from class org.apache.camel.model.OptionalIdentifiedType |
---|
nodeCounters |
Constructor Summary | |
---|---|
IdempotentConsumerDefinition()
|
|
IdempotentConsumerDefinition(Expression messageIdExpression,
IdempotentRepository idempotentRepository)
|
Method Summary | |
---|---|
Processor |
createProcessor(RouteContext routeContext)
|
ExpressionClause<IdempotentConsumerDefinition> |
expression()
Set the expression that IdempotentConsumerType will use |
IdempotentRepository |
getMessageIdRepository()
|
String |
getMessageIdRepositoryRef()
|
String |
getShortName()
Returns a short name for this node which can be useful for ID generation or referring to related resources like images |
IdempotentConsumerDefinition |
messageIdRepository(IdempotentRepository idempotentRepository)
Sets the the message id repository for the IdempotentConsumerType |
IdempotentConsumerDefinition |
messageIdRepositoryRef(String messageIdRepositoryRef)
Sets the reference name of the message id repository |
protected IdempotentRepository |
resolveMessageIdRepository(RouteContext routeContext)
Strategy method to resolve the IdempotentRepository to use |
void |
setMessageIdRepository(IdempotentRepository idempotentRepository)
|
void |
setMessageIdRepositoryRef(String messageIdRepositoryRef)
|
String |
toString()
|
Methods inherited from class org.apache.camel.model.ExpressionNode |
---|
configureChild, createFilterProcessor, getExpression, getLabel, getOutputs, setExpression, setOutputs |
Methods inherited from class org.apache.camel.model.OptionalIdentifiedType |
---|
createId, description, getDescription, getId, getNodeCounter, idOrCreate, setDescription, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IdempotentConsumerDefinition()
public IdempotentConsumerDefinition(Expression messageIdExpression, IdempotentRepository idempotentRepository)
Method Detail |
---|
public String toString()
toString
in class Object
public String getShortName()
OptionalIdentifiedType
getShortName
in class ExpressionNode
public ExpressionClause<IdempotentConsumerDefinition> expression()
public IdempotentConsumerDefinition messageIdRepositoryRef(String messageIdRepositoryRef)
messageIdRepositoryRef
- the reference name of message id repository
public IdempotentConsumerDefinition messageIdRepository(IdempotentRepository idempotentRepository)
idempotentRepository
- the repository instance of idempotent
public String getMessageIdRepositoryRef()
public void setMessageIdRepositoryRef(String messageIdRepositoryRef)
public IdempotentRepository getMessageIdRepository()
public void setMessageIdRepository(IdempotentRepository idempotentRepository)
public Processor createProcessor(RouteContext routeContext) throws Exception
createProcessor
in class ProcessorDefinition<ProcessorDefinition>
Exception
protected IdempotentRepository resolveMessageIdRepository(RouteContext routeContext)
IdempotentRepository
to use
routeContext
- route context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |