ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Subscription blocking with Pub/Sub message broker

Post new topic  Reply to topic
 Subscription blocking with Pub/Sub message broker « View previous topic :: View next topic » 
Author Message
battie
PostPosted: Thu Aug 09, 2007 8:32 pm    Post subject: Subscription blocking with Pub/Sub message broker Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
battie
PostPosted: Mon Aug 27, 2007 10:49 pm    Post subject: Subscription blocking with Pub/Sub message broker Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Subscription blocking with Pub/Sub message broker
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.