Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CXF 3 Cache Level

Tags:

java

spring

jms

cxf

In CXF 2 I could set the level like this:

<jaxws:client name="client">
    <jaxws:features>
        <bean class="org.apache.cxf.transport.jms.JMSConfigFeature">
            <property name="jmsConfig" ref="jmsConfig"/>
        </bean>
    </jaxws:features>
</jaxws:client>

<bean id="jmsConfig" class="org.apache.cxf.transport.jms.JMSConfiguration">
    <property name="cacheLevel" value="3"/>
</bean>

However, in CXF 3 cacheLevel property is missing in org.apache.cxf.transport.jms.JMSConfiguration.

How can I set the cache level in CXF 3?

Thanks in advance.

like image 601
StasKolodyuk Avatar asked Nov 10 '22 03:11

StasKolodyuk


1 Answers

CXF 3 does not use the spring MessageListenerContainer anymore. So there is no cachelevel setting. CXF 3 has improved the performance over CXF 2, thus this setting is not needed any more.

like image 81
StasKolodyuk Avatar answered Nov 27 '22 04:11

StasKolodyuk