You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Piotr Klimczak (JIRA)" <ji...@apache.org> on 2013/03/06 23:04:13 UTC

[jira] [Commented] (CAMEL-5940) camel-cache - Add option to cache component to easily configure ehcache XML file to load by default

    [ https://issues.apache.org/jira/browse/CAMEL-5940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13595168#comment-13595168 ] 

Piotr Klimczak commented on CAMEL-5940:
---------------------------------------

Hi Klaus,

You mean configuring camel-cache in the very same way as it is done with jms- the bean id (configured with file or anythiong else) can be used as an uri protocols?
Is this what you mean: "Once you have a named JMS component, you can then refer to endpoints within that component using URIs."
If so i can give it a shot.

Waiting for your answer.

Greetings
Piotr Klimczak
[http://reintegrate.pl]
                
> camel-cache - Add option to cache component to easily configure ehcache XML file to load by default
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5940
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5940
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cache
>            Reporter: Claus Ibsen
>
> See
> By default ehache.xml is loaded from classpath. We should make it possible to configure CacheComponent with a string option that refers to the resource to load.
> Then people can do something a like:
> {code}
> <bean id="cache" class="...CacheComponent">
>   <property name="configurationFile" value="classpath:com/foo/mycache.xml"/>
> </bean>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira