Aug 2nd, 2012, 01:51 PM
High Frequency Messaging
I have an MQ system with published 50 messages per sec. I used spring default message listener Container with max concurrency of 100 consumers (agents.*)
when I ran the container, Spring created around 90 concurrent consumers and it was processing messages. But still I see the events getting back logged in MQ Server.
After 5 minutes there will around 500 messages which are backlogged for every consumer.
Now, I am planning to create separate consumer for each topic like agent.abcd. Since I have around 2k agents. I want to use spring connection polling. But I dint see any option in spring JMS API to set connection pooling for JMS Connections.
I am currently using cacheconnecitonFactory which uses only one connection for all sessions. can someone please share their ideas to subscribe 2k agents using spring JMS.