activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Singer <>
Subject Whats minimal use of jencks required for activemq & spring& consumer
Date Sun, 23 Mar 2008 15:59:48 GMT

Hi. I am using activemq 5.1 (snapshot latest). The producer uses regular
activemq API, and the consumer
uses activemq with spring & jmstemplate.
I would like to know if the following conifguration will improve performance
or if i need to use the entire,
inbound-outbound configuration of jencks:

1. producer: use org.apache.activemq.pool.PooledConnectionFactory to create
2. consumer: configure using spring -
org.jencks.amqpool.PooledConnectionFactory which contains
ActiveMQConnectionFactory, in the following conifuration: 

<bean id="connectionFactory"
    	<!--  <property name="brokerURL"
    	<!--<property name="brokerURL"
    	<property name="brokerURL"
    		value="vm://embeddedbroker?brokerConfig=xbean:WEB-INF/activemq.xml" />
    	<!-- Should a JMS message be copied to a new JMS Message object as part
of the
			 send() method? Our producer does not reuse the message object, then it
can disable the
			copying of the message, which improves throughput. -->
    	<!-- <property name="copyMessageOnSend" value="false"/> -->

 <bean id="pooledConnectionFactory"
  	<property name="maxConnections" value="3" />
  	<property name="connectionFactory" ref="connectionFactory"/>

What will the MDP of jencks provide which activemq & spring does not
provide, using the pool I used?

Thanks, Michal
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message