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

Camel Components - Generate per component XML schema

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.x
    • Component/s: tooling
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Now due to CAMEL-7999 we have information about each component and would be able to create a maven plugin that generates per component XML schema, which we can use in spring or blueprint to have per component type safe configuration of both the component and endpoints.

      For example for endpoints something a like

      <route>
      <from><file directory="somepath" recursive="true" include="*.txt"/></from>
      <to><jms queue="foo"/></to>
      </route>
      

      Though there a few more tasks to this as we would need to

      • figure out how to integrate this with the camel model that is generated from camel-core
      • how the namespace parsers of spring/blueprint detects these new namespaces for each component
      • and have it work in all environments, eg standalone, jee, osgi, et all

      For starters we could allow to configure endpoints in the <endpoints> section at first, an then later directly within the <routes>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: