Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EIP]:CircuitBreaker's onFallback object is not recognised by Kaoto #1935

Open
mmelko opened this issue Jan 22, 2025 · 0 comments
Open

[EIP]:CircuitBreaker's onFallback object is not recognised by Kaoto #1935

mmelko opened this issue Jan 22, 2025 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@mmelko
Copy link
Contributor

mmelko commented Jan 22, 2025

Describe the Bug

onFallback object is not recognised by Kaoto. The object is defined in the camel catalog and also in the CamelYamlDSL.

The problem is that onFallback is defined as a processor and Kaoto is parsing it as element in steps array, which the schema allows, but I believe that's wrong.

Steps to Reproduce the Bug or Issue

  1. Paste YAML with following example:
- route:
    id: route-8014
    from:
      id: from-8738
      uri: timer
      parameters:
        period: "1000"
        timerName: template
      steps:
        - circuitBreaker:
            onFallback:
              id: onFallback-3122
              steps:
                - to:
                    id: to-1309
                    uri: aws-bedrock-agent-runtime
                    parameters: {}
            id: circuitBreaker-3756
           

See the visualisation:

Image

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 0.30.0]
@mmelko mmelko added the bug Something isn't working label Jan 22, 2025
@lordrip lordrip added this to the 2.5.0 milestone Feb 4, 2025
@lordrip lordrip moved this from New to Todo in Kanban Board Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants