CXF Cache Level 3

In CXF 2, I could set this level:

<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, the cacheLevel property is missing in org.apache.cxf.transport.jms.JMSConfiguration .

How to set cache level in CXF 3?

Thanks in advance.

+5
source share
2 answers

CXF 3 no longer uses spring MessageListenerContainer . Therefore, there is no cachelevel setting. CXF 3 has improved performance over CXF 2, so this option is no longer needed.

+1
source

This option has been removed from CXF 3.0.0.

Specify the caching level that the JMS listener container can use. See the java document org.springframework.jms.listenerDefaultMessageListenerContainer for more information. The default value is -1.

Check out this link:

http://cxf.apache.org/docs/using-the-jmsconfigfeature.html

0
source

Source: https://habr.com/ru/post/1233630/


All Articles