You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2023/08/10 09:27:58 UTC

[GitHub] [camel-karavan] davsclaus opened a new issue, #854: kamelet is internal only

davsclaus opened a new issue, #854:
URL: https://github.com/apache/camel-karavan/issues/854

   Paste the following into karavan space
   
   ```
   - route:
       id: route1
       from:
         uri: kamelet:beer-source
         steps:
           - removeHeaders:
               id: removeHeaders1
               pattern: '*'
           - to:
               id: to1
               uri: activemq:beer
   
   
   - route:
       id: route2
       from:
         uri: activemq:beer
         steps:
           - log:
               id: log1
               message: "${body}"
   
   
   - route:
       id: beer-source-1
       template: "true"
       from:
         uri: timer:beer?period=5000
         steps:
           - to:
               id: to2
               uri: https://random-data-api.com/api/beer/random_beer
           - to:
               id: to3
               uri: kamelet://sink?routeId=beer-source-1
   ```
   
   And notice how the UI shows the last kamelet is external
   <img width="1855" alt="Screenshot 2023-08-10 at 11 26 42" src="https://github.com/apache/camel-karavan/assets/477100/c57a8ad2-d146-4817-a8ab-c83a8d0bb516">
   
   


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


[GitHub] [camel-karavan] mgubaidullin commented on issue #854: kamelet is internal only

Posted by "mgubaidullin (via GitHub)" <gi...@apache.org>.
mgubaidullin commented on issue #854:
URL: https://github.com/apache/camel-karavan/issues/854#issuecomment-1673048203

   Looks like yaml is manually engineered.
   
   Karavan tries to parce implicit or simplified dsl syntax but this functionality is limited.
   
   Path parameters are not supported starting from version 3.21.0
   
   I would recommend to use Karavan to design routes. It will make them in explicit canonical format with correct visualization.
   
   In your particular case the last kamelet is sink that's why we have outgoing arrow. 


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


[GitHub] [camel-karavan] davsclaus commented on issue #854: kamelet is internal only

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #854:
URL: https://github.com/apache/camel-karavan/issues/854#issuecomment-1673091306

   kamelet:sink is an internal queue name - also the hint is that its a template (its a model of the actual kamelet template)
   
       template: true
   
   There is also `kamelet:source` as internal queue name.
   
   So karavan should check for that
   
   - kamelet:source
   - kamelet:sink
   
   They are internal only.
   
   
   


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


[GitHub] [camel-karavan] mgubaidullin commented on issue #854: kamelet is internal only

Posted by "mgubaidullin (via GitHub)" <gi...@apache.org>.
mgubaidullin commented on issue #854:
URL: https://github.com/apache/camel-karavan/issues/854#issuecomment-1673124545

   Route **templates** are not supported yet in Karavan.
   Only kamelets from kamelet catalog or custom kamelets are supported for now.
   
   The support of kamelet:source and kamelet:sink is planning as a part of https://github.com/apache/camel-karavan/issues/315


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


[GitHub] [camel-karavan] davsclaus commented on issue #854: kamelet is internal only

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #854:
URL: https://github.com/apache/camel-karavan/issues/854#issuecomment-1672876080

   That last external ----------------> for kamelet should not be there.


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