Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17929

camel-yaml-dsl - KameletBinding style error-handler is not Camel standard

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.20.0
    • camel-yaml-dsl
    • None
    • Unknown

    Description

      camel-yaml-dsl has support for error-handler with these 4 keys:

      @YamlIn
      @YamlType(
                nodes = { "error-handler", "errorHandler" },
                order = YamlDeserializerResolver.ORDER_DEFAULT,
                properties = {
                        @YamlProperty(name = "ref", type = "string"),
                        @YamlProperty(name = "none", type = "object:org.apache.camel.model.errorhandler.NoErrorHandlerDefinition"),
                        @YamlProperty(name = "log",
                                      type = "object:org.apache.camel.model.errorhandler.DefaultErrorHandlerDefinition"),
                        @YamlProperty(name = "dead-letter-channel",
                                      type = "object:org.apache.camel.model.errorhandler.DeadLetterChannelDefinition"),
                })
      

      However that is not the standard naming we use in Camel. These are specific to KameletBinding and are for a special use-case only.

      So we need to have standard Camel error-handler in camel-yaml-dsl that is universal.
      And then the Camel K style error handler is only in Camel-K (or simulated specially for running KameletBinding with camel-jbang)

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: