java - How to speed up the consume time of ibm jms message -
my application being ibm client consume message sent ibm mq server. sent big number of messages(e.g:50000). our client application can not "eat" message quickly.
what i'v been tried:
use caching connection factory, not much.
org.springframework.jms.connection.cachingconnectionfactory
i can't open multiple threads listener speed consuming speed(currently set 1) because of our business requirement.
thanks in advanced!
edit:
for each message processing time like: (e.g:0:00:00.079) wait start process next message take long time (e.g:0:00:00.534)
consider transactional , persistence requirements of messages.
there number of options within mq enabled here speed delivery.
mq optimized either persistent/transactional or non-persistent/non-transactional workloads. don't mix them, example sending persistent messages in non-transactional session.
if using non-persistent/non-transactional messaging read_ahead options stream messages down client.
in additional ensure selectors not in use.
Comments
Post a Comment