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 » Clustered jms sub to a topic : 2429 MQRC_SUBSCRIPTION_IN_USE

Post new topic  Reply to topic
 Clustered jms sub to a topic : 2429 MQRC_SUBSCRIPTION_IN_USE « View previous topic :: View next topic » 
Author Message
Cyrille Le Clerc
PostPosted: Tue Jun 15, 2010 1:07 am    Post subject: Clustered jms sub to a topic : 2429 MQRC_SUBSCRIPTION_IN_USE Reply with quote

Novice

Joined: 23 May 2007
Posts: 12
Location: France

Dear all,

Environment : WMQ 7.0.1 on Linux

I would like a clustered java application to durably subscribe to a MQ 7.0 topic via JMS.

To rephrase, I want each pub/sub message to be received exactly once on my cluster. I understand that concurrently listening on the same jms topic subscription will cause the loss of message ordering; it is not a problem for me.

Unfortunately, when I try this, I get a 2429 MQRC_SUBSCRIPTION_IN_USE exception.

Is there a way to create a durable subscription to a topic telling MQ to allow concurrent listeners of this same subscription ?

I saw a workaround :
1. create a topic 'MY_SUBJECT_TOPIC'
2. create a local durable queue 'MY_SUBJECT_QUEUE_TO_MY_APP'
3. create a subscription MY_SUBJECT_SUBSCRIPTION_TO_MY_APP to attach topic 'MY_SUBJECT_TOPIC' to queue MY_SUBJECT_QUEUE_TO_MY_APP'

Thanks to this, all my application cluster nodes can concurrently listen to the same topic subscription but the downside is a more complex MQ configuration.

thanks for your insights,

Cyrille
_________________
Cyrille Le Clerc
cyrille@cyrilleleclerc.com
cleclerc@xebia.fr
http://blog.xebia.fr
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Clustered jms sub to a topic : 2429 MQRC_SUBSCRIPTION_IN_USE
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.