[
https://issues.apache.org/jira/browse/CAMEL-14154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16995530#comment-16995530
]
Matej Melko commented on CAMEL-14154:
-------------------------------------
Ok so I've found that this is actually already working in certain circumstances
due to endpoint's being singletons. Default cache is always created in
internally in _InfinispanManager.java_. This works in routes where same
endpoint is used. For example:
{code}
from("direct:start").to("infinispan:test");
from("direct:get").to("infinispan:test").to("mock:result");
{code}
Creating default _cacheContainer_ on component level when no other
configuration is provided will solve this also for different endpoints.
> Add option to create cache if it doesn't exists in camel-infinispan
> -------------------------------------------------------------------
>
> Key: CAMEL-14154
> URL: https://issues.apache.org/jira/browse/CAMEL-14154
> Project: Camel
> Issue Type: Improvement
> Components: camel-infinispan
> Affects Versions: 3.0.0.RC3
> Reporter: John Poth
> Priority: Major
> Fix For: 3.x
>
>
> It might be nice to have an option in camel-infinispan to create the cache if
> it doesn't exits.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)