On Sat, Feb 19, 2011 at 2:40 PM, tnk <[email protected]> wrote:
>
> Hi,
>
> I am using camel-cache component in serviceMix. Cache endpoint uri is
> "cache://elements?maxElementsInMemory=2&memoryStoreEvictionPolicy=MemoryStoreEvictionPolicy.FIFO&overflowToDisk=false&eternal=false&timeToLiveSeconds=800"
>
> I have 2 bundles (core.jar, services.jar). Inside those bundles I use
>
> @EndpointInject(uri = Constants.CACHE_URI)
> ProducerTemplate cacheTemplate;
>
> cacheTemplate.requestBodyAndHeaders(...)
>
> core.jar puts and reads elements from cache.
> services.jar only reads elements from cache.
>
> After deploying both bundles it works fine, but if i uninstall services.jar,
> cache is "destroyed". core.jar can't put objects into cache anymore.
>
> How could I make all bundles to "share" the same cache?
>

Can you create a JIRA ticket?

Link from this page
http://camel.apache.org/support.html



>
> Thanks.
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/camel-cache-in-servicemix-tp3392325p3392325.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to