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

camel-core - Route model to allow inlined local beans for XML and other DSLs

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Information Provided
    • None
    • 3.12.0
    • camel-core
    • None
    • Unknown

    Description

      With the introduction of local beans for route templates / kamelets. This brings to the table of allowing to use that more generic in Camel DSL.

      When using XML DSL and other markup DSLs then you have use-cases where you need to define a bean for aggregation strategy, etc, and today you have to write that as java bean and refer to it by bean id.

      With local bean you can then inline this and create the bean code in the XML or YAML dsl with script. Can be good for simple code (not very complex).

      We can look at to add a special annotation in the model, that marks something as a local bean compliant, so we can generate this in the XML XSD, YAML DSL accordingly.

      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: