You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "christophd (via GitHub)" <gi...@apache.org> on 2024/01/10 19:13:26 UTC

[I] Need to update CEQ service discovery setting for data type transformer [camel-k]

christophd opened a new issue, #5047:
URL: https://github.com/apache/camel-k/issues/5047

   ### What happened?
   
   Since Camel 4.0 data type transformer services have been moved from `camel-kamelet-utils` library to the Camel core project. With this migration the path to the service discovery for these kind of data type transformers has been changed from `META-INF/services/org/apache/camel/datatype/converter/*` to `META-INF/services/org/apache/camel/datatype/transformer/*` 
   
   Since Camel 4.2 data type transformer services have been move once again to `META-INF/services/org/apache/camel/transformer/*`
   
   Camel K sets these service discovery paths as a Quarkus build time property `quarkus.camel.service.discovery.include-patterns`. We need to make sure that we support all values for Camel 3.x, 4.0 and 4.2 runtimes.
   
   ### Steps to reproduce
   
   Use a Camel runtime later than 3.x and run a KameletBinding/Pipe with data types that triggers the data type transformer service discovery resolving mechanism.
   
   ### Relevant log output
   
   ```shell
   org.apache.camel.CamelExecutionException: Missing data type transformer from camel:any to type aws2-s3:application-cloudevents on the exchange
   ```
   
   
   ### Camel K version
   
   2.2


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Need to update CEQ service discovery setting for data type transformer [camel-k]

Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd commented on issue #5047:
URL: https://github.com/apache/camel-k/issues/5047#issuecomment-1885511629

   A workaround for this is to set the service discovery path as a Maven setting on the IntegrationPlatform
   
   For Camel 4.0 runtime:
   
   ```
   k patch itp camel-k --type=merge -p '{"spec":{"build":{"maven":{"properties":{"quarkus.camel.service.discovery.include-patterns": "META-INF/services/org/apache/camel/datatype/transformer/*"}}}}}'
   ```
   
   For Camel 4.2 runtime:
   
   ```
   k patch itp camel-k --type=merge -p '{"spec":{"build":{"maven":{"properties":{"quarkus.camel.service.discovery.include-patterns": "META-INF/services/org/apache/camel/transformer/*"}}}}}'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Need to update CEQ service discovery setting for data type transformer [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #5047: Need to update CEQ service discovery setting for data type transformer
URL: https://github.com/apache/camel-k/issues/5047


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org