marteloudini commented on issue #91:
URL: 
https://github.com/apache/camel-k-examples/issues/91#issuecomment-3334335443

   > > i have the same issue. with 
[/[generic-examples](https://github.com/apache/camel-k-examples/tree/main/generic-examples)
 /pojo-jar] The --resource file:../../../../target/pojo-jar-1.0.0.jar in the 
command line kamel run, not run, Error message : could not match config or 
secret configuration as file:../../../../target/pojo-jar-1.0.0.jar
   > > how add .jar (pojo .class) to resource on camel-k ? i want generate yaml 
kind:integration with the kamel run .\OpenApiRoute.java -o yaml
   > > thanks you
   > 
   > The `file` resource is not available since some time already. You will 
need to turn any resource into a Configmap and use `configmap:xyz` syntax 
instead: 
https://camel.apache.org/camel-k/2.8.x/configuration/runtime-resources.html#runtime-resource-configmap
   
   So, is it no longer possible to have one or more JAR files (POJO classes) 
that can be used in Camel-K routes?
   
   Then how do we handle routes deployed on Kubernetes/OpenShift that require 
business logic processing with domain entities? We need to keep the domain 
service and the transport interface (input and output) separate.  Surely we 
don't have to put all the classes in the same file as the RouteBuilder class, 
do we?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to