2tsheep commented on issue #1643:
URL: 
https://github.com/apache/camel-kamelets/issues/1643#issuecomment-1723187027

   I am using camel-k 1.12.1 and Im running the integrations on a local 
kubernetes cluster using Docker Desktop 4.22.1 with knative. 
   
   I am not sure if I completely understand what the linked example does. It 
registers a custom class to the bean registry which then allows us to address 
the defined methods in the class, is that right? Would this also create a 
connection bean which I need to send data to an influxdb using the influxdb 
endpoint?
   
   If it is possible I would like to avoid creating custom beans in java and 
solely rely on yaml dsl. 
   
   I'll add this here for maybe a little more clarification:
   `
   #camel-k: language=yaml dependency=camel-quarkus:influxdb
   - beans: 
     - name: "influxdb"
       type: "#ognl:@org.influxdb.InfluxDBFactory@connect"
       properties:
         url: "http://localhost:8086";
   
   - from:
       uri: "{{source}}"
       ...
       to: "influxdb:influxdb"
   `


-- 
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