Author |
Message
|
mb8_learner |
Posted: Fri Sep 28, 2018 6:41 am Post subject: MQ Transaction Monitoring tool |
|
|
Novice
Joined: 28 May 2013 Posts: 22
|
Is there is any way i can log all the transactions published on specific topic/ published to a topic which is not present in QueueManger. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Sep 28, 2018 6:54 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
If not present in a qmgr, where is the topic? _________________ 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 |
|
 |
mb8_learner |
Posted: Fri Sep 28, 2018 7:01 am Post subject: |
|
|
Novice
Joined: 28 May 2013 Posts: 22
|
bruce2359 wrote: |
If not present in a qmgr, where is the topic? |
if i am publishing to a wrong/misspelled topic, is there is any way to log these transaction |
|
Back to top |
|
 |
Vitor |
Posted: Fri Sep 28, 2018 7:09 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mb8_learner wrote: |
if i am publishing to a wrong/misspelled topic, is there is any way to log these transaction |
If you're using ACE/IIB a publication with no subscribers will go through the NoMatch terminal. That may be because it's the "wrong" name or because there are no subscribers online at the time of publication.
But don't forget there's no way within MQ Pub/Sub to distinguish between a misspelt topic name and a topic name that an application (and ACE/IIB is just another application in this context) has invented dynamically. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Sep 30, 2018 4:31 pm Post subject: Re: MQ Transaction Monitoring tool |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
mb8_learner wrote: |
Is there is any way i can log all the transactions published on specific topic/ published to a topic which is not present in QueueManger. |
MQ will create a topic if it is not already present. It does not care if no one ever subscribes to it. However, it could lead to issues in MQ if there are large numbers of messages queued for durable subs or retained msgs. _________________ Glenn |
|
Back to top |
|
 |
mb8_learner |
Posted: Mon Oct 01, 2018 6:01 am Post subject: |
|
|
Novice
Joined: 28 May 2013 Posts: 22
|
we have some external applications connecting to our QM manager and publishing to topic. so i want to monitor/log the transactions. is there is any way to log the transactions |
|
Back to top |
|
 |
mb8_learner |
Posted: Mon Oct 01, 2018 6:03 am Post subject: |
|
|
Novice
Joined: 28 May 2013 Posts: 22
|
Vitor wrote: |
mb8_learner wrote: |
if i am publishing to a wrong/misspelled topic, is there is any way to log these transaction |
If you're using ACE/IIB a publication with no subscribers will go through the NoMatch terminal. That may be because it's the "wrong" name or because there are no subscribers online at the time of publication.
But don't forget there's no way within MQ Pub/Sub to distinguish between a misspelt topic name and a topic name that an application (and ACE/IIB is just another application in this context) has invented dynamically. |
okay. is there is any way to log all the transactions posted through specific channel or from specfic host |
|
Back to top |
|
 |
Vitor |
Posted: Mon Oct 01, 2018 6:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mb8_learner wrote: |
okay. is there is any way to log all the transactions posted through specific channel or from specfic host |
You have 2 terrible options in my view:
- you can create a durable subscription that subscribes (using a top level wildcard) to every single publication, and an application that reviews them looking for "wrong" ones
- you can create a channel exit that logs all of the messages that pass through it. The dangers and problems of using exits are well documented on this forum. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Oct 01, 2018 6:52 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mb8_learner wrote: |
we have some external applications connecting to our QM manager and publishing to topic. so i want to monitor/log the transactions. is there is any way to log the transactions |
Why? Seriously? What's the use case? What will you use these logs for?
If (as you say) you're looking for topics that are not defined on the queue manager (and that brings up a whole question about using dynamic or static subscriptions) why not use topic security to prevent publications to "illegal" topic names? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Oct 01, 2018 9:43 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Vitor wrote: |
... about using dynamic or static subscriptions) why not use topic security to prevent publications to "illegal" topic names? |
The same general approach to restricting naming of permanent or temporary dynamic reply-to-queues. _________________ 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.
Last edited by bruce2359 on Mon Oct 01, 2018 1:03 pm; edited 1 time in total |
|
Back to top |
|
 |
Vitor |
Posted: Mon Oct 01, 2018 11:52 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bruce2359 wrote: |
Vitor wrote: |
... about using dynamic or static subscriptions) why not use topic security to prevent publications to "illegal" topic names? |
The same general approach to restricting naming of permanent or temporary dynamic reply-to-queues. |
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon Oct 01, 2018 1:26 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
<Vendor>
You can use MQ Auditor to audit/track all queues and/topics of a queue manager.
</Vendor>
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
gbaddeley |
Posted: Mon Oct 01, 2018 3:41 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
mb8_learner wrote: |
we have some external applications connecting to our QM manager and publishing to topic. so i want to monitor/log the transactions. is there is any way to log the transactions |
If there is an app requirement to log particular transactions / messages, it should be done in the app, in a format and logging destination that suits the app. _________________ Glenn |
|
Back to top |
|
 |
|