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-unsubscr...@camel.apache.org

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


Reply via email to