Question
JMS-MDB Listener Queue Processing
Hi team,
We are using JMS_MDB Listsner with IBM MQ Queues. can some one explain the how the messages in Queue get processed by Service JMS. At atime how many messages get picked from Queue by the listener and processed by Service JMS.
And is there a way to Configure the number of messages processed at a go.
As we had faced an issue when there are huge bunch of messages in the queue. we see some of the messages getting processed at same time (simultaneously) as a result we are facing Integrity constraint issue with DB as Primary key (which is generated in service activity considering time stamp) is generated same when inserting particular message into the DB table (which is done by Service JMS activity).
Please help on this.
Processing of number of messages depends on Thread Pool Size . Incase of JMS/MQ Listener processing depends on thread pool size. We can set in prconfig or in Dynamic System Settings(D-S-S)
In case of JMS MDB Listener, processing of messages depends on minimum and maximum threads set at application servers.
For ex: In WAS, depends on workManager Pool settings determines the number of messages to be processed.
Hope this helps!