|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
losing some of the subscriptions information |
« View previous topic :: View next topic » |
Author |
Message
|
Balmer |
Posted: Tue Jul 01, 2003 2:35 pm Post subject: losing some of the subscriptions information |
|
|
Novice
Joined: 19 Jun 2003 Posts: 13
|
Hi all,
I'm working on MQSeries Publish\Subscribe broker.
WebSphere MQ --- V5.3.0.2 with CSD04 Patch...
MA0C support pac ---- MQSeries Pub/Sub Broker
I have written an application to register publishers and subscribers. Once I register all publishers and subscribers using my application and run the following command, i can see all my subscriptions information like RegistrationQMgrName, RegistrationQName etc as below and everything is working fine. But my problem is .... If I run the amqspsd -m SSP.EVENTS.QMGR command once again after few hours I see some data of the subscriptions is being lost. you can see the differences below...
info...running the following command immediately after registration of subscriptions....
> ./amqspsd -m SSP.EVENTS.QMGR
MQSeries Message Broker Dumper
Start time: Tue Jul 1 17:01:16 2003
Broker Relations
----------------
QMgrName:
SSP.EVENTS.QMGR
Parent:
None
Children:
None
Streams supported
-----------------
SSP.FIRMSALE.STREAM
SYSTEM.BROKER.DEFAULT.STREAM
SYSTEM.BROKER.ADMIN.STREAM
Publishers
----------
StreamName: SYSTEM.BROKER.ADMIN.STREAM
None
StreamName: SYSTEM.BROKER.DEFAULT.STREAM
None
StreamName: SSP.FIRMSALE.STREAM
None
Subscribers
-----------
StreamName: SYSTEM.BROKER.ADMIN.STREAM
Topic: MQ/SSP.EVENTS.QMGR /StreamSupport
BrokerCount: 0
ApplCount: 1
AnonymousCount: 0
RegistrationQMgrName: SSP.EVENTS.QMGR
RegistrationQName: SYSTEM.BROKER.INTER.BROKER.COMMUNICATIONS
RegistrationCorrellId: 414D51590000010100000000000000000000000000000000
RegistrationUserIdentifier: mqm
RegistrationOptions: 17 : MQREGO_CORREL_ID_AS_IDENTITY MQREGO_NEW_PUBLICATIONS_ONLY
RegistrationTime: 2003062417182594
Topic: MQ/S/SSP.EVENTS.QMGR /Subscribers/Identities/*
BrokerCount: 0
ApplCount: 1
AnonymousCount: 1
StreamName: SYSTEM.BROKER.DEFAULT.STREAM
Topic: MQ/S/SSP.EVENTS.QMGR /Subscribers/Identities/*
BrokerCount: 0
ApplCount: 1
AnonymousCount: 1
StreamName: SSP.FIRMSALE.STREAM
Topic: SSP/DataServices/FirmSaleOrder
BrokerCount: 0
ApplCount: 1
AnonymousCount: 0
RegistrationQMgrName: SSP.EVENTS.QMGR
RegistrationQName: SSPFLOW.FIRMSALE.SUB
RegistrationUserIdentifier: sspflow
RegistrationOptions: 0 : MQREGO_NONE
RegistrationTime: 2003070122002395
info...running the following command after few hours once registration of subscriptions is done.
> ./amqspsd -m SSP.EVENTS.QMGR
MQSeries Message Broker Dumper
Start time: Tue Jul 1 16:59:47 2003
Broker Relations
----------------
QMgrName:
SSP.EVENTS.QMGR
Parent:
None
Children:
None
Streams supported
-----------------
SSP.FIRMSALE.STREAM
SYSTEM.BROKER.DEFAULT.STREAM
SYSTEM.BROKER.ADMIN.STREAM
Publishers
----------
StreamName: SYSTEM.BROKER.ADMIN.STREAM
None
StreamName: SYSTEM.BROKER.DEFAULT.STREAM
None
Subscribers
-----------
StreamName: SYSTEM.BROKER.ADMIN.STREAM
Topic: MQ/SSP.EVENTS.QMGR /StreamSupport
BrokerCount: 0
ApplCount: 1
AnonymousCount: 0
RegistrationQMgrName: SSP.EVENTS.QMGR
RegistrationQName: SYSTEM.BROKER.INTER.BROKER.COMMUNICATIONS
RegistrationCorrellId: 414D51590000010100000000000000000000000000000000
RegistrationUserIdentifier: mqm
RegistrationOptions: 17 : MQREGO_CORREL_ID_AS_IDENTITY MQREGO_NEW_PUBLICATIONS_ONLY
RegistrationTime: 2003062417182594
Topic: MQ/S/SSP.EVENTS.QMGR /Subscribers/Identities/*
BrokerCount: 0
ApplCount: 1
AnonymousCount: 1
StreamName: SYSTEM.BROKER.DEFAULT.STREAM
Topic: MQ/S/SSP.EVENTS.QMGR /Subscribers/Identities/*
BrokerCount: 0
ApplCount: 1
AnonymousCount: 1
StreamName: SSP.FIRMSALE.STREAM
Topic: MQ/S/SSP.EVENTS.QMGR /Subscribers/Identities/*
BrokerCount: 0
ApplCount: 1
AnonymousCount: 1
This is very urgent and critical.
Thanks for ur inputs..
Balmer |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Jul 02, 2003 12:58 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I'm not sure how to read the output to know if a subscriber is durable or non-durable. My guess as to the difference is that you registered some non-durable subscribers. You didn't unsubscribe them. MQ cleanup ran, noticed that they were gone, and cleaned them up. |
|
Back to top |
|
 |
Balmer |
Posted: Wed Jul 02, 2003 1:56 pm Post subject: |
|
|
Novice
Joined: 19 Jun 2003 Posts: 13
|
Hi bower5932,
Let me give some more info.
while registration, I'm not specifying any Registration options except the strem queue, Topic and subscriber queue name...
If I want register a subscription as durable, do I have to specify any registration options like MQREGO_PERSISTENT etc..while registration?
how can I make my subscriptions as durable subscriptions ?
thanks
Balmer |
|
Back to top |
|
 |
clindsey |
Posted: Wed Jul 02, 2003 6:15 pm Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
The expiration of the subscription is determined by the expiry field of the message descriptor (MQMD) of the message containing the subscription.
For a durable subscription, set the Expiry field to MQEI_UNLIMITED.
Charlie |
|
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
|
|
|
|