Uploaded image for project: 'Fuse Tools'
  1. Fuse Tools
  2. FUSETOOLS-463

Allow to set custom namespace on <camelContext> to have them available for XPath expressions that need namespaces.

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      2.1.147

      Description

      Current the GUI editor will re-create <camelContext> and lose any custom namespaces you may have configured.
      Wonder if we should support a properties editor to add custom namespaces there.

      Or possible enforce ppl to set namespace in the root tag etc.

        Gliffy Diagrams

          Activity

          Hide
          lhein Lars Heinemann added a comment -

          Atm the route node is the most low level node we can customize through properties. therefor we probably need some context menu or alike to allow editing of the context node. We should also take care to preserve the namespaces set inside the source view as currently we loose them on switching between source and design.

          Show
          lhein Lars Heinemann added a comment - Atm the route node is the most low level node we can customize through properties. therefor we probably need some context menu or alike to allow editing of the context node. We should also take care to preserve the namespaces set inside the source view as currently we loose them on switching between source and design.
          Hide
          jastrachan James Strachan added a comment -

          Folks can always hack the XML to add namespaces I guess; so we just need to make sure we preserve any xmlns* attributes on the <camelContext> when we regenerate it

          Show
          jastrachan James Strachan added a comment - Folks can always hack the XML to add namespaces I guess; so we just need to make sure we preserve any xmlns* attributes on the <camelContext> when we regenerate it
          Hide
          jastrachan James Strachan added a comment -

          think this should be fixed now - just needs testing

          Show
          jastrachan James Strachan added a comment - think this should be fixed now - just needs testing
          Hide
          jastrachan James Strachan added a comment -

          fixed in 2.1.267

          Show
          jastrachan James Strachan added a comment - fixed in 2.1.267

            People

            • Assignee:
              jastrachan James Strachan
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: