Author |
Message
|
ucbus1 |
Posted: Wed May 07, 2003 5:51 am Post subject: Question on XML messages generated in workflow. |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
Is there any way I can get all the XML messages generated/exchanged between various queues for a work instances, before it is finished in workflow?
Thanks |
|
Back to top |
|
 |
vennela |
Posted: Wed May 07, 2003 6:01 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Either I didn't quite understand your question or I am missing something here. Can you be more eloborate...
-------
Venny |
|
Back to top |
|
 |
amittalekar |
Posted: Wed May 07, 2003 6:03 am Post subject: |
|
|
 Disciple
Joined: 03 Apr 2002 Posts: 166 Location: VA, USA
|
You can get only those XMLmessages that are generated by workflow and
put it on your defined UPES queue by workflow..... |
|
Back to top |
|
 |
manoj |
Posted: Wed May 07, 2003 9:34 am Post subject: |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
i think u r interested to know the various activities going on within the life time of a workitem. i guess MQWF server communicates using SDDS and not in XML, but if you enable audit trailing (AUDIT TO MQQueue) you might be getting these messages in XML format (i 've n't done this though) _________________ -manoj |
|
Back to top |
|
 |
ucbus1 |
Posted: Fri May 09, 2003 4:55 am Post subject: |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
Sorry for the confusion. This is my utopian concept.
When I instantiate a work instance the way I do is put an xml message that goes to "exexmlinputq" of FMCQM. OK... Now it goes thru various activities passing thru various queues and ultimately gets deleted out of workflow. While doing so, workflow generates some messages in XML, user applications generate some xml messages... But everything is with in one configuration FMC and with in MQ series. I have logging in the applications to log xml messages generated by them. However, these are not reliable as the logs may be deleted... applications are buggy. However, my queue managers are defined as persistent . So ideally i should be able to track the the messages generated/exchanges at every stop during the life span of a work instance. We have a utility called "vital signs" that tracks the life span of workinstance. But it does not give me the xmls exchanged during the span.
My idea is to have the xmls, suppose if an instance stopped at a particular activity say UPES, i would like to put the message back into the queue so that the instance would be processed from the point where it stopped. |
|
Back to top |
|
 |
jmac |
Posted: Fri May 09, 2003 5:16 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Ucbus:
Do you have MessageHandler also? I thought I recalled that you do.
If so you could log the messages there. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
amittalekar |
Posted: Fri May 09, 2003 5:44 am Post subject: |
|
|
 Disciple
Joined: 03 Apr 2002 Posts: 166 Location: VA, USA
|
Ucbus,
If u are logging the messages only to put message back in UpesQueue for processing then that may not be good idea. The better approach would be to put workflow generated XML message in other queue say ERRQUEUE if any error occurs. Then write a simple utility that will get the message from this ERRQUEUE and put it back in proper UPES queue for processing as & when u want. |
|
Back to top |
|
 |
ucbus1 |
Posted: Fri May 09, 2003 5:46 am Post subject: |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
Jmac,
yes we do..But message Handler would not log, if an activity agets stuck in UPES like I have mentioned in my question "upes question 2".
thanks |
|
Back to top |
|
 |
jmac |
Posted: Fri May 09, 2003 5:59 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Ucbus:
You can get the incoming message logged if you use DEBUG level. Now I am not recommending that you do this if this is a Production system due to the overhead. If it is a test system change your loglevel to DEBUG and I think you will get what you are looking for.
GOOD LUCK _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|