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 » WebSphere Message Broker (ACE) Support » pub/sub using MB8 in MQ7

Post new topic  Reply to topic
 pub/sub using MB8 in MQ7 « View previous topic :: View next topic » 
Author Message
chirayu
PostPosted: Tue Jun 19, 2012 6:42 am    Post subject: pub/sub using MB8 in MQ7 Reply with quote

Apprentice

Joined: 04 May 2011
Posts: 30

HI ,

I have two queries here related to publish/subscribe:
1)when i fire Reg Sub command from broker on system.control.queue it gives response back in pscr folder as ok or error. Now if i fire Reg Sub command in a loop (lets say 5 times for different topics) and one of the Reg Sub reponses back with error, then is there any way by which message broker or MQ can rollback other 4 subscriptions from MQ repository?
2)is there any way (via message broker) by which MQ repository can be queried/browsed to see how many subscriptions exist for per topic?

Thankyou!
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jun 19, 2012 7:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

1. Yes, issue the corresponding reverse-posts to undo the subs.

2. Yes. Check out the SubscriptionParameters class.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
chirayu
PostPosted: Tue Jun 19, 2012 11:24 pm    Post subject: Reply with quote

Apprentice

Joined: 04 May 2011
Posts: 30

lancelotlinc, could you please elaborate more on your points..
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Jun 20, 2012 5:00 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

chirayu wrote:
lancelotlinc, could you please elaborate more on your points..


1. You must maintain a list of successful operations and in the event you want to backout those, issue the appropriate compensating transactions.

2. http://www.google.com/webhp?source=search_app#hl=en&sclient=psy-ab&q=SubscriptionParameters+message+broker&oq=SubscriptionParameters+message+broker&aq=f&aqi=&aql=&gs_l=hp.3...1253.6486.0.6596.16.16.0.0.0.0.252.2181.3j10j3.16.0.eish..0.0.BMEbxmRfbEw&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=a8708267f6810afa&biw=1013&bih=612&safe=active
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » pub/sub using MB8 in MQ7
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.