Hi Akila,

You cannot disable the ESB registry cache, but you can increase/decrease
the cache timeout with the following parameter in
ESB_HOME/repository/deployment/server/synapse-configs/default/registry.xml
file to change the cache timeout. Having a very low number may affect the
performance since it will increase the number of database interactions when
the cache is expired.

<!-- Configured for 1 second -->
    <parameter name="cachableDuration">1000</parameter>

If you have saved your resources (js files) in the config or governance
registry, then those changes will be reflected immediately once you change
them from the management console. That would be the better approach instead
of using local entries.

Thanks,
Chanaka


On Sat, Apr 25, 2015 at 6:10 AM, Akila Ravihansa Perera <[email protected]>
wrote:

> Hi,
>
> Can someone please tell me how to disable ESB caching?
>
> I faced following issues while creating some sequences / APIs.
>
> 1. I've localEntries in my API which points to JavaScript files. Whenever
> I make a change to a JS file, it does not get reflected when I call the
> API. I've to goto admin console and save the localEntry again to force
> update the JS file changes. Is there a way to avoid this?
>
>
> 2. While I was making some changes to a sequence file, ESB stopped
> reflecting the latest changes even though I could see the sequence updated
> message in the carbon log. This is very intermittent but when it happens I
> had to restart ESB to reflect the latest changes to my sequence.
>
>
> Would appreciate any help.
>
> Thanks.
>
> --
> Akila Ravihansa Perera
> Software Engineer, WSO2
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
--
Chanaka Fernando
Senior Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 773337238
Blog : http://soatutorials.blogspot.com
LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
Twitter:https://twitter.com/chanakaudaya
Wordpress:http://chanakaudaya.wordpress.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to