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 » General IBM MQ Support » Subscription - Persistence

Post new topic  Reply to topic
 Subscription - Persistence « View previous topic :: View next topic » 
Author Message
MQEnthu
PostPosted: Mon Mar 17, 2014 6:05 am    Post subject: Subscription - Persistence Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

Hi,

In our integration application is doing WMQ publish using MQ API. The subscription queue is a remote queue and pointing to base queue via intermediate queue manager.

Applicaion - Publish ---> Subsribe (RQ A QM) ---> via B QM ---> LQ on C QM


Some (2 out of 100) of the messages are getting lost and are not reaching LQ on C QMGR.
We have a log portal (which shows WMQ logs) and there I can see the trace till B QM (XMIT queue to C QMGR).

I suspected the published messages are not persistent and when checked with application they claim that they have set the property to Persistent.

Subscription is durable. WMQ version 7.1.0.2

Could you please let me know what could have gone wrong.

I remember seeing persistent subscription in V6, do not we have it in V7.1?


_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Mar 17, 2014 7:07 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

You could always write to an Alias Queue running in Topic mode instead of Queue. That way you can directly control the Persistence of the publications by the DEFPSIST setting of the Alias Queue Object.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Mar 17, 2014 7:30 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

smdavies99 wrote:
You could always write to an Alias Queue running in Topic mode instead of Queue. That way you can directly control the Persistence of the publications by the DEFPSIST setting of the Alias Queue Object.

Only if the application specified persistence_as_qdef in the mqmd.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
MQEnthu
PostPosted: Mon Mar 17, 2014 10:02 pm    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

Thanks for the reply!!

Yes, I asked aplication to use the alias queue pointing to a topic, but application is insisting on using API for some reason.

The published message persistence is set to "Yes".

When I see the subscribed message in rfhutil, in the pub/sub tab, the persistence is set to "As Pub". What does this persistence indicate? Because Persistence property at MQMD is set to Yes.

And at Topic level also there is Persistence property "DEFPSIST". How does this impacts the subscribed message?
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
hughson
PostPosted: Sat Mar 29, 2014 6:09 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1959
Location: Bay of Plenty, New Zealand

MQEnthu wrote:
The published message persistence is set to "Yes".

When I see the subscribed message in rfhutil, in the pub/sub tab, the persistence is set to "As Pub". What does this persistence indicate? Because Persistence property at MQMD is set to Yes.
I'm not sure what RFHUTIL is showing here as there is no way of changing the persistence of the message as a subscriber. Perhaps you can provide a screenshot?

Quote:
And at Topic level also there is Persistence property "DEFPSIST". How does this impacts the subscribed message?
The DEFPSIST attribute on a topic is ONLY used if the publisher MQPUTs a message with MQPER_PERSISTENCE_AS_TOPIC_DEF. If your application is setting MQPER_PERSISTENT then DEFPSIST does not apply.

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
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 » General IBM MQ Support » Subscription - Persistence
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.