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 » How to track MQ transactions ?

Post new topic  Reply to topic Goto page Previous  1, 2, 3
 How to track MQ transactions ? « View previous topic :: View next topic » 
Author Message
smdavies99
PostPosted: Sun Nov 06, 2016 11:02 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.

no. you can only read from a LOCAL Queue or an ALIAS Queue that points to a LOCAL Queue;

Using an Alias Queue for Pub/Sub simply allows you to publish to a Topic.
You then create a subsctiption to that topic that points to a LOCAL Queue. It is this Queue that your application would read from.
Create another subscription to the same topic for your monitoring/backup. Point this subscription to another LOCAL Queue and you are good to go.

It is really quite simple to implement and test.

1) Create a Toipic
2) Create and Alias Queue with the mode set to Topic and the topic name the create topic
3) Create two LOCAL queus.
4) Create Two subscriptions to the Topic and set the destination to the local Queues
5) Write a mesage to the Alias queue and observe what happens.
_________________
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: Sun Nov 06, 2016 3:03 pm    Post subject: Reply with quote

Poobah

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

Muhammad Haider wrote:

Reason for 90 days backup as given by client is that they want to maintain it for Tracking. For example if the client sends a particular message with message id abc and the external party did not receive it then he should be able to tell from his records that atleast there was no issue with that message id from his side. So keeping track of Queue/Channel activity will later help him to find if there was or what was the issue at his side.

When the external party complains that it did not receive message id 'abc', then what? What is the resolution? How will the transaction be replayed? Or, is this all to affix blame?

An MQ message is rarely the source of a transaction. Rather, it is the results of some other input task or activity that results in a message that drives some other process or processes. The best-practice is for developers to capture the data that initiated the transaction in the first place.
_________________
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
Vitor
PostPosted: Mon Nov 07, 2016 5:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Muhammad Haider wrote:
Is there a way I can perform a GET operation on an alias queue whose base type is topic (by setting some alias queue, topic or subscription properties) ? So that I can read what another app has PUT on this queue (or published on the base topic) ?


Of course not.

And pedantically no app has PUT anything to that queue. They've just published something on a topic that's matched.

You can however, obtain the same effect by subscribing to the topic.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Nov 07, 2016 6:52 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

You can only put to a topic alias queue.

However you can define an administrative subscription matching the same topic string, where the destination is a local queue, and then get from that queue.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3 Page 3 of 3

MQSeries.net Forum Index » General IBM MQ Support » How to track MQ transactions ?
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.