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 get a message flow thread Id from ESQL?

Post new topic  Reply to topic
 How to get a message flow thread Id from ESQL? « View previous topic :: View next topic » 
Author Message
jamesyu
PostPosted: Mon Jun 22, 2009 6:28 am    Post subject: How to get a message flow thread Id from ESQL? Reply with quote

Acolyte

Joined: 31 Jan 2007
Posts: 70

I added 5 additional instances in the flow bar and deployed it.

I want to be able to log some information such as each Invoice Number being processed by which thread in my log from ESQL.

Is there any way to get Flow Thread Id somehow in ESQL?

Thanks,
James
Back to top
View user's profile Send private message
Gaya3
PostPosted: Mon Jun 22, 2009 6:41 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

AFIK its not possible,

why cant you check the logs and find it out...
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
jamesyu
PostPosted: Mon Jun 22, 2009 6:53 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2007
Posts: 70

Gaya3 wrote:
AFIK its not possible,

why cant you check the logs and find it out...


Yes, it is logged in the log, such as below:

Jun 19 09:47:24 qat128 WebSphere Broker v6005[897230]: (QAT128B3..Order.Exec.64)[6683]BIP2951I: Event generated by user code......

I think the 6683 is a thread id.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Jun 22, 2009 8:10 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You could use monitoring events - each event contains the source thread id.
Back to top
View user's profile Send private message
jamesyu
PostPosted: Mon Jun 22, 2009 9:41 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2007
Posts: 70

kimbert wrote:
You could use monitoring events - each event contains the source thread id.


What kind of monitoring events tool are you recommending? Are they free?
Back to top
View user's profile Send private message
Gaya3
PostPosted: Mon Jun 22, 2009 10:50 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

jamesyu wrote:
kimbert wrote:
You could use monitoring events - each event contains the source thread id.


What kind of monitoring events tool are you recommending? Are they free?


i guess kimbert is talking about MB V6.1 Monitoring Event Tabs in the nodes

Kimbert:
Let me know if i am wrong
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Pavan Kumar PNV
PostPosted: Mon Jun 22, 2009 10:57 pm    Post subject: Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

Using Omegamon XE for messaging, you can get detailed stats on the performance of each node/flow instance
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
kimbert
PostPosted: Tue Jun 23, 2009 12:06 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Gaya3 is correct - I'm talking about the monitoring facilities which come with v6.1.
You can emit a monitoring event from any terminal, and include data from the message. To log your data, you would have to construct another flow to read the subscription queue and log the data to your file.
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 get a message flow thread Id from ESQL?
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.