Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-445

Allow for automatic reload of XSLT file when changes are made to it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • servicemix-saxon-2008.01
    • None
    • servicemix-saxon
    • None

    Description

      When the XSLT file used for the transformation resides in the filesystem ("file:/" resource), the servicemix-saxon component should detect when changes are made to the stylesheet and should reload it on-the-fly. This feature should be switchable by the user via a flag in the xbean.xml file. (This behaviour is not suitable in all environments...). Ideally, the scan interval should be user-configurable too.

      Also, a method should be exposed via JMX to trigger the reload of the XSLT, for those cases in which the user disables the automatic reloading capability.

      Currently, the SA has to be redeployed or ServiceMix has to be restarted in order to reload a stylesheet.

      Please see http://www.nabble.com/Reloadable-XSLT-in-servicemix-saxon-td20678812.html for more details and workaround in the meantime.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              raulvk Raúl Kripalani
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: