You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/08/23 13:46:55 UTC

[GitHub] [camel-k] squakez opened a new pull request #2587: Feat/2494 kamel bind error

squakez opened a new pull request #2587:
URL: https://github.com/apache/camel-k/pull/2587


   <!-- Description -->
   With this PR we introduce the possibility to use `--error-handler` option directly with the `kamel bind`. There is a simple syntax that will allow the user to chose one of the different error handler available (none, log, dlc, bean, ref). The `dlc` is using what it is already used for `step` as it expects the same configuration (ie, a `Kamelet`).
   
   As an example, we'll be now allowed to execute:
   ```
   kamel bind my:src my:dst --error-handler dlc:my-kamelet -p error-handler.my-prop=value
   ```
   Which will turn into a `KameletBinding` with a dlc error handler and relative property setting.
   
   Closes #2494 
   
   <!--
   Enter your extended release note in the below block. If the PR requires
   additional action from users switching to the new release, include the string
   "action required". If no release note is required, write "NONE". 
   
   You can (optionally) mark this PR with labels "kind/bug" or "kind/feature" to make sure
   the text is added to the right section of the release notes. 
   -->
   
   **Release Note**
   ```release-note
   NONE
   ```
   


-- 
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-k] squakez merged pull request #2587: feat(cmd/bind): error-handler setting

Posted by GitBox <gi...@apache.org>.
squakez merged pull request #2587:
URL: https://github.com/apache/camel-k/pull/2587


   


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