Author |
Message
|
jamesyu |
Posted: Mon Jun 22, 2009 6:28 am Post subject: How to get a message flow thread Id from ESQL? |
|
|
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 |
|
 |
Gaya3 |
Posted: Mon Jun 22, 2009 6:41 am Post subject: |
|
|
 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 |
|
 |
jamesyu |
Posted: Mon Jun 22, 2009 6:53 am Post subject: |
|
|
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 |
|
 |
kimbert |
Posted: Mon Jun 22, 2009 8:10 am Post subject: |
|
|
 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 |
|
 |
jamesyu |
Posted: Mon Jun 22, 2009 9:41 am Post subject: |
|
|
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 |
|
 |
Gaya3 |
Posted: Mon Jun 22, 2009 10:50 pm Post subject: |
|
|
 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 |
|
 |
Pavan Kumar PNV |
Posted: Mon Jun 22, 2009 10:57 pm Post subject: |
|
|
 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 |
|
 |
kimbert |
Posted: Tue Jun 23, 2009 12:06 am Post subject: |
|
|
 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 |
|
 |
|