Posted By:
Andreas_Mueller
Posted On:
Friday, April 4, 2003 05:11 AM
The default configuration is already optimized. The rate you got is ok for 1KB messages.
What you should check is whether you explicitly set
sender.setDeliveryMode(DeliveryMode.NON_PERSISTENT);
at your procuder client. You may also increase the settings of min/max threads of the thread pools "jms.connection" and "jms.session". E.g. set it to each 5 and check your thoughput then.
Another point is the smqp-setting of the connection factory you use. The defaults for smqp-consumer-cache-size is 500 and the smqp-producer-reply-interval is 20. You may increase it to 750/30. But watch your memory since it might be that up to 750 messages are transfered at once. You should set the queue cache size according to the smqp-consumer-cache-size. Set the flow-control-start-queue-size to the queue cache size - 100.