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

   Hi everyone,
   
   I opened a discussion with the issue I'm facing, but got no replies. That's 
why I'm opening this issue and hoping I'll get some help/suggestions here.
   
   ### Discussed in https://github.com/apache/camel-karavan/discussions/811
   
   <div type='discussions-op-text'>
   
   <sup>Originally posted by **mvolf** June 29, 2023</sup>
   Hi everyone,
   
   I'm having issues with configuring onException for a route and thought I 
should first ask here, before opening an issue.
   I created a simple route configuration with onException clause, but the 
resulting YAML fails with the following exception during the deployment:
   
   ```Node should have only have 1 key, was: 3 keys: 
[exception,id,redeliveryPolicy] (Maybe this is an indent problem in the YAML 
source).
    in file:exensio-s3-loader.camel.yaml, line 3, column 9:
             - exception:
               ^
   ```
   
   I didn't edit the YAML manually and the complete integration was created 
using the designer UI. This segment in the YAML was created as follows:
   
   ```
   - routeConfiguration:
       onException:
         - exception:
             - java.lang.Throwable
           id: onException-f031
           redeliveryPolicy:
             id: redeliveryPolicy-b507
             maximumRedeliveries: 2
   ```
   
   
   I looked at the Camel YAML DSL specification and to me everything looks 
correct.
   
   Any suggestions would be more than welcome.</div>


-- 
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.apache.org

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

Reply via email to