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 » WebSphere Message Broker (ACE) Support » How to know the flow that is listening to a queue

Post new topic  Reply to topic
 How to know the flow that is listening to a queue « View previous topic :: View next topic » 
Author Message
Inforz
PostPosted: Thu May 12, 2011 5:33 am    Post subject: How to know the flow that is listening to a queue Reply with quote

Centurion

Joined: 15 Apr 2011
Posts: 139
Location: Chennai, India

Hi,

the linux server is has MB7 and MQ7 in which a queue has input count as 2. So with a queue status I get to know the process ids (both are same) and from which I get to know there are DataFlowEngine (msg flows).

So now how can I know which flows are listening to the queue.

(this is a kinda reverse engineering concept to know the flow names that are listening to the queue)

Pls suggest the methods other than checking all the flows ( in UI, broker toolkit) to know which flow is having the input queue as the expected queue as there are hell a lot of flows.

Thanks,
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu May 12, 2011 5:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Well, sorry, but you are going about this backwards.

You shouldn't deploy anything without knowing before hand what queue it will listen to.

If you really somehow don't know this, and don't want to bother doing things like reviewing the properties of the flow on the administrative view (rather than actually looking at the .msgflow file!), then you can enable user trace on the EG and send a message to a queue. Then look at the user trace to see what flow read the message.

But again, this is the wrong way to do it. You should know before hand what queues will be used, or enforce what queues will be used by overriding the bar file.
Back to top
View user's profile Send private message
fschofer
PostPosted: Thu May 12, 2011 7:19 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,

change to queue to get disabled an check which message flow starts complaining.

Regards
Frank
Back to top
View user's profile Send private message Send e-mail
Inforz
PostPosted: Tue May 17, 2011 6:18 pm    Post subject: Reply with quote

Centurion

Joined: 15 Apr 2011
Posts: 139
Location: Chennai, India

Hi thanks for the info. But, sorry I didnt get you. Can you please explain how a msg flow complaints if its not able to identify the queue.

Thanks,
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 17, 2011 8:03 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Inforz wrote:
Hi thanks for the info. But, sorry I didnt get you. Can you please explain how a msg flow complaints if its not able to identify the queue.

Thanks,

It complains by writing a message into the log.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Tue May 17, 2011 9:16 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

fjb_saper wrote:
Inforz wrote:
Hi thanks for the info. But, sorry I didnt get you. Can you please explain how a msg flow complaints if its not able to identify the queue.

Thanks,

It complains by writing a message into the log.


The logged messages will mention the queue Name and give an MQRC = 2016.

simples. Try it and see for yourself.
_________________
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
davecrighton
PostPosted: Sun May 22, 2011 6:17 am    Post subject: Reply with quote

Novice

Joined: 13 Jun 2007
Posts: 12

I think you *might* be able to get this info back using the CMP API. Im on my home PC so dont have a broker to check. Its worth having a poke around in the CMP exerciser to see if you can find the deployed flow cmf.
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 » WebSphere Message Broker (ACE) Support » How to know the flow that is listening to a queue
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.