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 » MQ Transaction Monitoring tool

Post new topic  Reply to topic
 MQ Transaction Monitoring tool « View previous topic :: View next topic » 
Author Message
mb8_learner
PostPosted: Fri Sep 28, 2018 6:41 am    Post subject: MQ Transaction Monitoring tool Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Fri Sep 28, 2018 6:54 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
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
View user's profile Send private message
mb8_learner
PostPosted: Fri Sep 28, 2018 7:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Sep 28, 2018 7:09 am    Post subject: Reply with quote

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
View user's profile Send private message
gbaddeley
PostPosted: Sun Sep 30, 2018 4:31 pm    Post subject: Re: MQ Transaction Monitoring tool Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2492
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
View user's profile Send private message
mb8_learner
PostPosted: Mon Oct 01, 2018 6:01 am    Post subject: Reply with quote

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
View user's profile Send private message
mb8_learner
PostPosted: Mon Oct 01, 2018 6:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Oct 01, 2018 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Oct 01, 2018 6:52 am    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Mon Oct 01, 2018 9:43 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
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
View user's profile Send private message
Vitor
PostPosted: Mon Oct 01, 2018 11:52 am    Post subject: Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Mon Oct 01, 2018 1:26 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3252
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
View user's profile Send private message Visit poster's website
gbaddeley
PostPosted: Mon Oct 01, 2018 3:41 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2492
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
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 » General IBM MQ Support » MQ Transaction Monitoring tool
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.