Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DataTypeRegistry as bean in Camel context #3845

Closed
christophd opened this issue Nov 24, 2022 · 2 comments
Closed

Add DataTypeRegistry as bean in Camel context #3845

christophd opened this issue Nov 24, 2022 · 2 comments

Comments

@christophd
Copy link
Contributor

Kamelets introduces a new concept for data types as described in #1980

At the moment each Kamelet adds a local bean representing the DataTypeRegistry in order to resolve converter implementations at runtime.

The registry for data type converters should be added to the Camel context as a singleton service. This can be done by adding quarkus.camel.service.registry.include-patterns property on the camel-quarkus project that builds the integration jars.

This way we avoid each Kamelet to introduce the local bean but reuse the singleton service. We would need to set this for KameletBinding or when an integration uses Kamelet components. Kamelets assume the DataTypeRegistry to be set on the CamelContext.

See apache/camel-kamelets#1162 for details

@github-actions
Copy link
Contributor

github-actions bot commented May 4, 2023

This issue has been automatically marked as stale due to 90 days of inactivity.
It will be closed if no further activity occurs within 15 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!

@squakez squakez modified the milestones: 2.0.0, 2.1.0 Jul 27, 2023
@squakez squakez modified the milestones: 2.1.0, 2.2.0 Oct 17, 2023
@squakez squakez modified the milestones: 2.2.0, 2.3.0 Jan 8, 2024
@christophd
Copy link
Contributor Author

this one has become obsolete as the data type registry functionality has been moved to Camel core project. In Camel core project the registry is already exposed as a singleton bean on the Camel context by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants