|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Subscription - Persistence |
« View previous topic :: View next topic » |
Author |
Message
|
MQEnthu |
Posted: Mon Mar 17, 2014 6:05 am Post subject: Subscription - Persistence |
|
|
 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 |
|
 |
smdavies99 |
Posted: Mon Mar 17, 2014 7:07 am Post subject: |
|
|
 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 |
|
 |
bruce2359 |
Posted: Mon Mar 17, 2014 7:30 am Post subject: |
|
|
 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 |
|
 |
MQEnthu |
Posted: Mon Mar 17, 2014 10:02 pm Post subject: |
|
|
 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 |
|
 |
hughson |
Posted: Sat Mar 29, 2014 6:09 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|