Back Forum Reply New

Optimizing DefaultMessageListenerContainer

what is the best way to determine the optional values for the defaultmessagelistenercontainer?  we have a median throughput application (~100 msgs/sec), processing small messages (~50bytes).  We are using JBoss XA transactions between the MQ and database.  the process is doing little more than pulling messages of a queue and inserting into a database.  we are using spring 2.5.3 and jboss 4.2.  below is the current configuration.  what is the best means to detemrine optimal configuration?lt;bean id=quot;TrackV1ListenerContainerquot;
class=quot;org..jms.listener.DefaultMes  sageListenerContainerquot;gt;
lt;property name=quot;concurrentConsumersquot; value=quot;10quot; /gt;
lt;property name=quot;maxConcurrentConsumersquot; value=quot;50quot; /gt;
lt;property name=quot;maxMessagesPerTaskquot; value=quot;10quot; /gt;
lt;property name=quot;receiveTimeoutquot; value=quot;10000quot; /gt;
lt;property name=quot;idleTaskExecutionLimitquot; value=quot;10quot; /gt;
lt;property name=quot;transactionManagerquot; ref=quot;txManagerquot; /gt;
lt;property name=quot;connectionFactoryquot; ref=quot;connectionFactoryquot; /gt;
lt;property name=quot;destinationquot; ref=quot;queuequot; /gt;
lt;property name=quot;messageListenerquot; ref=quot;listenerquot; /gt;
lt;property name=quot;cacheLevelNamequot; value=quot;CACHE_NONEquot; /gt;
lt;/beangt;
¥
Back Forum Reply New