You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2022/06/13 09:04:00 UTC

[jira] [Resolved] (CAMEL-18127) camel-resume-api: adapter auto-configuration

     [ https://issues.apache.org/jira/browse/CAMEL-18127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Otavio Rodolfo Piske resolved CAMEL-18127.
------------------------------------------
    Resolution: Fixed

Fixed with the linked set of PRs.

> camel-resume-api: adapter auto-configuration 
> ---------------------------------------------
>
>                 Key: CAMEL-18127
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18127
>             Project: Camel
>          Issue Type: Task
>            Reporter: Otavio Rodolfo Piske
>            Assignee: Otavio Rodolfo Piske
>            Priority: Major
>             Fix For: 3.18.0
>
>
> Currently, in order to use the resume API, the integrations have to declare [adapters|https://camel.apache.org/components/next/eips/resume-strategies.html#_the_resume_adapter] that are [specific to the component and to the underlying offset data type|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#L67-L68]. Not only this is error prone, but it also makes harder to use in scenarios like in Camel K or to use it in a declarative format (i.e.: YAML).
>  
> The adapters used by each component should be, somehow, auto-configurable.
>  
> The code on the components already have much of the information needed to setup the adapters on each component, so this can be leveraged.



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