Example: JMS cache replication
JMS replication is the most powerful and secured way. Used altogether with Camel Cache replication options is also the most easy way.
This basic example is divided to few important steps that have to be made to get the cache replication to work.
The first step is to write your own implementation of
Next step is to write your own implementation of
CacheLoaderWrapper, the easiest one is:
At the third step you can take care about Camel Cache options (prepare their values):
The final step is to define some routes using Cache component