Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Documentation for Apache Synapse Cache? |
|
Author |
|
TheoFontane
Joined: 15 May 2013 Posts: 3 Location: Germany, Wiesbaden
|
Posted: Wed 15 May '13 15:25 Post subject: Documentation for Apache Synapse Cache? |
|
|
Hello,
I am investigating in using Apache Synapse as a simple SOAP cache between the frontend services and the "real" ESB and the backend.
The plan is to cache all the SOAP requests in the cache mediator of Apache Synapse.
Unfortunately, there seems to be no documentation at all about how the cache can be maintained, monitored or even where the cache will be stored if you choose "store on disk".
Does anyone have experiences on where to find any documentation about the caching module?
Thanks in advance for every hint,
Theo |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
TheoFontane
Joined: 15 May 2013 Posts: 3 Location: Germany, Wiesbaden
|
Posted: Fri 17 May '13 9:22 Post subject: |
|
|
Thank you for your answer. Unfortunately, this is not enough. I am looking for answers like:
"Where will the cache be stored if I choose "disk" instead of "memory"?"
I just figured out, that "store-to-disk" is not implemented yet, so I assume that this product is not ready for serious usage. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 17 May '13 9:42 Post subject: |
|
|
In the docs it says you can store on disc. use implementation type
Code: |
<cache [id="string"] [hashGenerator="class"] [timeout="seconds"] [scope=(per-host | per-mediator)]
collector=(true | false) [maxMessageSize="in-bytes"]>
<onCacheHit [sequence="key"]>
(mediator)+
</onCacheHit>?
<implementation type=(memory | disk) maxSize="int"/>
</cache>
|
See http://synapse.apache.org/userguide/mediators.html#Cache |
|
Back to top |
|
TheoFontane
Joined: 15 May 2013 Posts: 3 Location: Germany, Wiesbaden
|
Posted: Fri 17 May '13 10:03 Post subject: |
|
|
Yes, but if you use this setting, you get the error message, that the disk caching has not been implemented yet. And there is no documentation about where the data will be cached if "disk" is chosen (and if it would work). |
|
Back to top |
|
|
|
|
|
|