| Package | Description |
|---|---|
| org.apache.camel.model |
The JAXB POJOs for the
XML
Configuration of the routing rules.
|
| Modifier and Type | Method and Description |
|---|---|
EnrichDefinition |
EnrichDefinition.aggregateOnException(boolean aggregateOnException)
If this option is false then the aggregate method is not used if there
was an exception thrown while trying to retrieve the data to enrich from
the resource.
|
EnrichDefinition |
EnrichDefinition.aggregationStrategy(org.apache.camel.AggregationStrategy aggregationStrategy)
Sets the AggregationStrategy to be used to merge the reply from the
external service, into a single outgoing message.
|
EnrichDefinition |
EnrichDefinition.aggregationStrategy(Supplier<org.apache.camel.AggregationStrategy> aggregationStrategy)
Sets the AggregationStrategy to be used to merge the reply from the
external service, into a single outgoing message.
|
EnrichDefinition |
EnrichDefinition.aggregationStrategyMethodAllowNull(boolean aggregationStrategyMethodAllowNull)
If this option is false then the aggregate method is not used if there
was no data to enrich.
|
EnrichDefinition |
EnrichDefinition.aggregationStrategyMethodName(String aggregationStrategyMethodName)
This option can be used to explicit declare the method name to use, when
using POJOs as the AggregationStrategy.
|
EnrichDefinition |
EnrichDefinition.aggregationStrategyRef(String aggregationStrategyRef)
Refers to an AggregationStrategy to be used to merge the reply from the
external service, into a single outgoing message.
|
EnrichDefinition |
EnrichDefinition.cacheSize(int cacheSize)
Sets the maximum size used by the
ProducerCache which is used to cache and
reuse producer when uris are reused. |
EnrichDefinition |
EnrichDefinition.ignoreInvalidEndpoint()
Ignore the invalidate endpoint exception when try to create a producer
with that endpoint
|
EnrichDefinition |
EnrichDefinition.shareUnitOfWork()
Shares the
UnitOfWork with the parent and
the resource exchange. |
| Modifier and Type | Method and Description |
|---|---|
ExpressionClause<EnrichDefinition> |
ProcessorDefinition.enrich()
The Content
Enricher EIP enriches an exchange with additional data obtained from
a
resourceUri. |
Apache Camel