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

MBean method addOrUpdateRoutesFromXml should validate route XML

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: camel-core, jmx
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      With JMX you can invoke the addOrUpdateRoutesFromXml method to change a route definition.

      The old route is removed before the new one is added. This is a problem if the provided route XML definition is not valid. In this case, the new route will not be created, but the old one has already been removed. So things are left in a dirty state,

      We should check to see whether the updated route is valid before attempting to remove it.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jamesnetherton James Netherton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: