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 » is there any way to know the info of the MQ client

Post new topic  Reply to topic
 is there any way to know the info of the MQ client « View previous topic :: View next topic » 
Author Message
terry902
PostPosted: Tue Jun 23, 2015 10:50 pm    Post subject: is there any way to know the info of the MQ client Reply with quote

Novice

Joined: 10 Oct 2014
Posts: 15

hi all,is there any way to know the info of the client who had get the message from queue. such as IP and so on. thanks
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Wed Jun 24, 2015 12:00 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

Are you asking whether you can tell which application (IP address) has the queue open and is consuming messages ? Or are you asking whether, long after a message has been taken off a queue, whether you can tell which client took it?

The answer to the first one is 'yes'. The answer to the second one is 'no', unless you want to do an awful lot of logging of data.

If you describe your question a little more specifically I'm sure we can give you more details on the answer,

Cheers,

Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
terry902
PostPosted: Wed Jun 24, 2015 12:01 am    Post subject: Reply with quote

Novice

Joined: 10 Oct 2014
Posts: 15

PaulClarke wrote:
Are you asking whether you can tell which application (IP address) has the queue open and is consuming messages ? Or are you asking whether, long after a message has been taken off a queue, whether you can tell which client took it?

The answer to the first one is 'yes'. The answer to the second one is 'no', unless you want to do an awful lot of logging of data.

If you describe your question a little more specifically I'm sure we can give you more details on the answer,

Cheers,

Paul.


the second one ,thank you
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Wed Jun 24, 2015 12:26 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

Well, in the base queue manager the answer is no. IBM MQ can process tens of thousands of messages a second. If you wanted to log the getter of every single message then you would be talking a lot of data and it would potentially have a significant impact of performance.

Having said that I don't doubt there are 3rd party vendor products which will long this kind of information for you by installing exits in various places or you yourself could write an API exit which would intercept this information and squirrel it away somewhere.

Cheers,
Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Wed Jun 24, 2015 4:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Why would more than one application be able to get messages from a single queue?

Why wouldn't the application itself log when it read a specific message and some minor information about that message?

As mentioned, MQ doesn't log this information in a historical record for you.

If you fundamentally require this information available at all times, you must be prepared for a large data store and a hit on the performance of MQ.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jun 24, 2015 4:59 am    Post subject: Reply with quote

Poobah

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

Have you been asked to prove that a message was (or was not) processed?
_________________
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
exerk
PostPosted: Wed Jun 24, 2015 5:49 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

mqjeff wrote:
Why would more than one application be able to get messages from a single queue?

Multiple instances of the same application code?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
tczielke
PostPosted: Wed Jun 24, 2015 10:42 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

You could use accounting statistics, if you also care about recording this for the near future. That is what I use when I want to monitor a queue manager for say a week and see what clients are accessing the queue manager.
_________________
Working with MQ since 2010.
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 » is there any way to know the info of the MQ client
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.