I'm using CACHE_CONSUMER for concurrent queue consumers (non-transacted),
that works fine.
For producers, what should the cache level be assuming non-transacted
sessions? Is CACHE_SESSION ok? I want to avoid creating/destroying sessions
for each send operations. 

I've configured separate connection pools and factories for camel producers
and consumers to have full control for this config.

    <bean id="activemqproducer"
class="org.apache.activemq.camel.component.ActiveMQComponent">
      <property name="configuration" ref="jmsConfigProducer"/>
    </bean>
   <bean id="jmsConfigProducer"
class="org.apache.camel.component.jms.JmsConfiguration">
      <property name="cacheLevelName"           value="CACHE_SESSION" />
   </bean>





--
View this message in context: 
http://camel.465427.n5.nabble.com/Cache-level-for-non-transacted-producers-activemq-tp5779456.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to