[ https://issues.apache.org/activemq/browse/CAMEL-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58684#action_58684 ]
Claus Ibsen commented on CAMEL-2558: ------------------------------------ You can now set a {{maximumCacheSize}} on those templates. Both from Java DSL and Spring XML. Also {{CamelContext}} now has a {{createXXX}} method which has a cache size parameter. > Configurable cache size for ConsumerTemplate and ProducerTemplate > ------------------------------------------------------------------ > > Key: CAMEL-2558 > URL: https://issues.apache.org/activemq/browse/CAMEL-2558 > Project: Apache Camel > Issue Type: Improvement > Affects Versions: 2.2.0 > Reporter: Norman Maurer > Assignee: Claus Ibsen > Fix For: 2.3.0 > > > The cache size of the ConsumerTemplate and ProducerTemplate should be > configurable to help to prevent OOM when every call use an other endpoint uri. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.