Otavio Rodolfo Piske created CAMEL-18677:
--------------------------------------------
Summary: camel-resume-api: allow setting the cache on the
configuration builder
Key: CAMEL-18677
URL: https://issues.apache.org/jira/browse/CAMEL-18677
Project: Camel
Issue Type: Improvement
Components: camel-resume-api
Reporter: Otavio Rodolfo Piske
Assignee: Otavio Rodolfo Piske
We should be able to configure the cache on the resume strategy configuration
builders:
{code:java}
KafkaResumeStrategyConfigurationBuilder kafkaConfigurationBuilder =
KafkaResumeStrategyConfigurationBuilder.newBuilder()
.withBootstrapServers("kafka-address:9092")
.withTopic("offset")
.withProducerProperty("max.block.ms", "10000")
.withMaxInitializationDuration(Duration.ofSeconds(5))
.withCache(myCacheInstance); // <--- like this
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)