Quantcast
Channel: Spring Community Forums - JMS
Viewing all articles
Browse latest Browse all 51

Jmstemplate is a bottle neck in performance

$
0
0
Hi, i am comparing the performance of active mq using spring and with out spring.
it seems that with spring is much slower.
It looks like the problem is with sending and not receiving. When i use jmstemplate it is much slower.
any ideas why?
how can i improve performance of jms template?

please note that i tested these 2 configurations:

Code:

<bean id="jmsTemplate" class="org.springframework.jms.core.JmsTemplate" lazy-init="true">
        <property name="connectionFactory" ref="pooledConnectionFactory"/> 
    </bean>
<bean id="jmsTemplate" class="org.springframework.jms.core.JmsTemplate" lazy-init="true">
        <property name="connectionFactory" ref="cachingConnectionFactory"/> 
    </bean>

thanks

Viewing all articles
Browse latest Browse all 51

Trending Articles