Otavio Rodolfo Piske created CAMEL-18128:
--------------------------------------------

             Summary: camel-resume-api: resume endpoint self-configuration
                 Key: CAMEL-18128
                 URL: https://issues.apache.org/jira/browse/CAMEL-18128
             Project: Camel
          Issue Type: Task
          Components: camel-resume-api
            Reporter: Otavio Rodolfo Piske
            Assignee: Otavio Rodolfo Piske
             Fix For: 3.18.0


Although the current way of configuring the resume strategies is flexible, it 
makes it very hard to work with it if we need to do so in a declarative way 
(i.e.: from a YAML file).

 

Currently, every integration has to setup the connection parameters to the 
strategy accordingly (i.e.: [like we do in the 
example|https://github.com/apache/camel-examples/blob/a33476ae644358b54cd11c93d2982ce0b0f36428/examples/resume-api/resume-api-fileset/src/main/java/org/apache/camel/example/resume/fileset/main/MainApp.java#L56-L65])

 

We need to find a way to have the strategies self configure themselves based on 
the information they have available (i.e.: the component where they are being 
used, the resume adapters and the cache instances). For more complex scenarios, 
we need to provide a way to let integrations configure them with the same 
flexibility as there is at the moment.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to