Posted: Thu Aug 09, 2007 8:32 pm Post subject: Subscription blocking with Pub/Sub message broker
Newbie
Joined: 04 Feb 2007 Posts: 8 Location: Sydney
We are using Websphere MQ version 6.0.2.1 with JMS Pub/Sub and JBoss and are experiencing constant subscription locking/blocking that causes large numbers of subscriptions to bank up on unrelated Topics and subscriptions. Within JBoss we have a number of MDBs that subscribe to various topics. If all is processing normally performance is fine however if one MDB encounters a database lock for instance and is waiting for the lock to clear, other MDBs are unable to read their subscriptions until the database lock clears and the MDB holding things up continues. This problem seems to affect all topics on the SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE. We have also tried creating a separate queue for each subscription but this makes no difference. Is there some configuration settings for the message broker we are missing? _________________ Battie
Posted: Mon Aug 27, 2007 10:49 pm Post subject: Subscription blocking with Pub/Sub message broker
Newbie
Joined: 04 Feb 2007 Posts: 8 Location: Sydney
I thought I'd post the fix to this problem as we found the issue was with the JBoss implimentation of Websphere MQ. To cut a long story short, when you use JBoss you MUST configure it to use dedicated queues per subscription. The reason being that JBoss assigns one thread per queue so if all subscriptions are set to use a default sub queue like SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE then JBoss effectively runs single threaded. _________________ Battie
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum