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 » Retain Publication Issue

Post new topic  Reply to topic
 Retain Publication Issue « View previous topic :: View next topic » 
Author Message
dosttumhara1810
PostPosted: Thu Aug 25, 2011 1:11 am    Post subject: Retain Publication Issue Reply with quote

Voyager

Joined: 01 Dec 2010
Posts: 76

Hi All,

I need some help on how to disable Retail Publication while publishing messages from WMB. Actually in my case the requirement is like i have 3000 subscribers(all are QoS value 2) to one topic and Wmb is publishing messages on that topic at regular interval(15 min) and suppose at some point of time one of the subscriber is not available , then after some time when that subscriber is up , then that subcriber will receive all the messages which that subscriber has missed while it was down. In my case requirement is like that subscriber should not receive the messages which are missed. It should only get the latest published message. I also don't want to negotiate in terms of QoS(2). Is there any property in WMB publish node or any thing that can be done to solve this problem.

I am using MB v 6.1.0.4

Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 25, 2011 4:13 am    Post subject: Re: Retain Publication Issue Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

dosttumhara1810 wrote:
Is there any property in WMB publish node or any thing that can be done to solve this problem.


Yes. You can arrange for the downed subscribers to cease to be subscribers while they're down. You can also recofigure the publication so as the subscriber requests the latest on request.

dosttumhara1810 wrote:
I am using MB v 6.1.0.4


Think about applying some maintenance.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
dosttumhara1810
PostPosted: Thu Aug 25, 2011 6:08 am    Post subject: Reply with quote

Voyager

Joined: 01 Dec 2010
Posts: 76

My subscribers are durable and i guess i cannot cease them to be subscribers when the subscriber is down. This problem is solved if i make the subscriber non durable and Qos as 2 but then what is happening then is when the subscriber is up it receives published msgs sometimes it doesnot receive pub msgs when it becomes up after getting down and this probably happens if the connection goes up next day on which the connection goes down. i mean to say with nondurable subscription the subscription is unpredictable.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 25, 2011 6:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

dosttumhara1810 wrote:
My subscribers are durable and i guess i cannot cease them to be subscribers when the subscriber is down


You'd need additional error handling / trapping / monitoring to achieve this.

dosttumhara1810 wrote:
i mean to say with nondurable subscription the subscription is unpredictable.


No, it's very predictable and is intended to behave exactly as you describe. Non-durable subscribers do not get "pub msgs when it becomes up after being down" because when it was down, it wasn't a subscriber.

You need a 2nd mechanism by which a "returning" subscriber can say:

"wow, never drinking that again, I'm back now, what did I miss?"

Luckly pub/sub provides that as well.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
dosttumhara1810
PostPosted: Thu Aug 25, 2011 8:08 am    Post subject: Reply with quote

Voyager

Joined: 01 Dec 2010
Posts: 76

No You didnt't get that..I mean to say when a non durable subscriber goes up it should get the next published msg on that topic to which it is subscriber automatically, but this this feature is sometimes working and sometimes not (probable if the subscriber goes down previous day and comes up next day)
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 25, 2011 8:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

dosttumhara1810 wrote:
this feature is sometimes working and sometimes not (probable if the subscriber goes down previous day and comes up next day)


Raise a PMR. If there's a subscriber not getting a publication it's subscribed to then that's a bug with the software.

Though I'd go to the latest version of WMB & try it on that first.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Retain Publication Issue
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.