Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18677

camel-resume-api: allow setting the cache on the configuration builder

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.19.0
    • 3.20.0
    • camel-resume-api
    • None
    • Unknown

    Description

      We should be able to configure the cache on the resume strategy configuration builders:

       

      KafkaResumeStrategyConfigurationBuilder kafkaConfigurationBuilder = KafkaResumeStrategyConfigurationBuilder.newBuilder()
          .withBootstrapServers("kafka-address:9092")
          .withTopic("offset")
          .withProducerProperty("max.block.ms", "10000")
          .withMaxInitializationDuration(Duration.ofSeconds(5))
          .withCache(myCacheInstance); // <--- like this
      

       

      Attachments

        Activity

          People

            orpiske Otavio Rodolfo Piske
            orpiske Otavio Rodolfo Piske
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: