-
Notifications
You must be signed in to change notification settings - Fork 345
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 data type converter factory finder discovery in camel-quarkus #3844
Labels
Comments
christophd
added a commit
to christophd/camel-k
that referenced
this issue
Dec 15, 2022
- Enable service discovery for data type converter resources in order to enable factory finder mechanism when resolving data type implementations - Add proper quarkus-maven-plugin build time properties for quarkus.camel.* properties - Fixes the way camel-quarkus build time properties are set (set properties on the quarkus-maven-plugin instead of using generic Maven system properties) - Explicitly add quarkus.camel.service.discovery.include-patterns for data type converter resources in order to enable lazy loading of Kamelets data type implementations Relates to apache#1980
christophd
added a commit
to christophd/camel-k
that referenced
this issue
Dec 15, 2022
- Enable service discovery for data type converter resources in order to enable factory finder mechanism when resolving data type implementations - Add proper quarkus-maven-plugin build time properties for quarkus.camel.* properties - Fixes the way camel-quarkus build time properties are set (set properties on the quarkus-maven-plugin instead of using generic Maven system properties) - Explicitly add quarkus.camel.service.discovery.include-patterns for data type converter resources in order to enable lazy loading of Kamelets data type implementations Relates to apache#1980
christophd
added a commit
to christophd/camel-k
that referenced
this issue
Dec 15, 2022
- Enable service discovery for data type converter resources in order to enable factory finder mechanism when resolving data type implementations - Add proper quarkus-maven-plugin build time properties for quarkus.camel.* properties - Fixes the way camel-quarkus build time properties are set (set properties on the quarkus-maven-plugin instead of using generic Maven system properties) - Explicitly add quarkus.camel.service.discovery.include-patterns for data type converter resources in order to enable lazy loading of Kamelets data type implementations Relates to apache#1980
christophd
added a commit
to christophd/camel-k
that referenced
this issue
Dec 16, 2022
- Enable service discovery for data type converter resources in order to enable factory finder mechanism when resolving data type implementations - Add proper quarkus-maven-plugin build time properties for quarkus.camel.* properties - Fixes the way camel-quarkus build time properties are set (set properties on the quarkus-maven-plugin instead of using generic Maven system properties) - Explicitly add quarkus.camel.service.discovery.include-patterns for data type converter resources in order to enable lazy loading of Kamelets data type implementations Relates to apache#1980
christophd
added a commit
to christophd/camel-k
that referenced
this issue
Dec 16, 2022
- Enable service discovery for data type converter resources in order to enable factory finder mechanism when resolving data type implementations - Add proper quarkus-maven-plugin build time properties for quarkus.camel.* properties - Fixes the way camel-quarkus build time properties are set (set properties on the quarkus-maven-plugin instead of using generic Maven system properties) - Explicitly add quarkus.camel.service.discovery.include-patterns for data type converter resources in order to enable lazy loading of Kamelets data type implementations Relates to apache#1980
christophd
added a commit
to christophd/camel-k
that referenced
this issue
Dec 20, 2022
- Kameletes used in the test make use of DataTypeRegistry and classpath scan is disabled - Data type registry will then perform a lookup of the data types via service discovery mechanism
christophd
added a commit
to christophd/camel-k
that referenced
this issue
Dec 20, 2022
- Enable service discovery for data type converter resources in order to enable factory finder mechanism when resolving data type implementations - Add proper quarkus-maven-plugin build time properties for quarkus.camel.* properties - Fixes the way camel-quarkus build time properties are set (set properties on the quarkus-maven-plugin instead of using generic Maven system properties) - Explicitly add quarkus.camel.service.discovery.include-patterns for data type converter resources in order to enable lazy loading of Kamelets data type implementations Relates to apache#1980
christophd
added a commit
to christophd/camel-k
that referenced
this issue
Dec 20, 2022
- Kameletes used in the test make use of DataTypeRegistry and classpath scan is disabled - Data type registry will then perform a lookup of the data types via service discovery mechanism
christophd
added a commit
to christophd/camel-k
that referenced
this issue
Jan 9, 2023
- Enable service discovery for data type converter resources in order to enable factory finder mechanism when resolving data type implementations - Add proper quarkus-maven-plugin build time properties for quarkus.camel.* properties - Fixes the way camel-quarkus build time properties are set (set properties on the quarkus-maven-plugin instead of using generic Maven system properties) - Explicitly add quarkus.camel.service.discovery.include-patterns for data type converter resources in order to enable lazy loading of Kamelets data type implementations Relates to apache#1980
christophd
added a commit
to christophd/camel-k
that referenced
this issue
Jan 9, 2023
- Kameletes used in the test make use of DataTypeRegistry and classpath scan is disabled - Data type registry will then perform a lookup of the data types via service discovery mechanism
squakez
pushed a commit
that referenced
this issue
Jan 10, 2023
- Enable service discovery for data type converter resources in order to enable factory finder mechanism when resolving data type implementations - Add proper quarkus-maven-plugin build time properties for quarkus.camel.* properties - Fixes the way camel-quarkus build time properties are set (set properties on the quarkus-maven-plugin instead of using generic Maven system properties) - Explicitly add quarkus.camel.service.discovery.include-patterns for data type converter resources in order to enable lazy loading of Kamelets data type implementations Relates to #1980
squakez
pushed a commit
that referenced
this issue
Jan 10, 2023
- Kameletes used in the test make use of DataTypeRegistry and classpath scan is disabled - Data type registry will then perform a lookup of the data types via service discovery mechanism
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kamelets introduces a data type concept as described in #1980
The data type implementations are resolved with factory finder mechanism. We will need to add the factory finder for DataTypeConverters when building the camel-quarkus jar for the integration. This makes sure that META-INF resources for factory finder lookup are included in the jars and runtime is able to resolve the data type implementation at runtime.
Usually this can be done with adding
quarkus.camel.service.discovery.include-patterns
property at build time.See apache/camel-kamelets#1162 for details
The text was updated successfully, but these errors were encountered: