Search code examples
javaapache-camelosgijbossfusesaprfc

Update camel-SAP cache without restarting the whole instance


I'm using RedHat's camel-SAP component in RedHat Fuse to call modules via SAP RFC. Each time the structure of the module is adjusted, the Fuse instance must be restarted to cache the updated SAP repository. Is there a way to update the cache with the SAP repository without having to restart the instance?


Solution

  • I opened a support ticket with RedHat and the suggestion for adding the functionality of clearing the JCo repository caches and the Data Layer was accepted. A task has been created and implemented by @Punkhorn. Thanks for that!

    The support ticket states that this functionality will be included in Fuse as of release 7.2. So if you use this version or newer, the cache can be cleared as follows:

    <to uri="sap-clear-cache" />