|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XML message routing in case of errors. |
« View previous topic :: View next topic » |
Author |
Message
|
ucbus1 |
Posted: Thu Jul 07, 2005 8:43 am Post subject: XML message routing in case of errors. |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
I have an application on "machine A". The application puts the XML instantaition messge on QM1,Q1.
Q1 is remote on "machine A", local on QM2 on "machine B".
On machine B there is another applicaton that takes the message from Q1/QM2 and puts the message on to Q2/QM2.
Q2 is remote on "machine B" points to local EXEXMLINPUTQ on FMCQM on "machine B".
Now if I specify <iferror> in my instantion XML and specify replytoqm as QM1 and replytoq empty, how will Workflow route the error message? My guess is that I should find this in some dead letter queue. Right? I am unable to find it on QM1, QM2 and FMCQM. Hence would like to know what could have gone wrong
If I want the workflow error message to go to queue "Q3" of "QM3" on Machine B, what do I need to do?
Thanks |
|
Back to top |
|
 |
vennela |
Posted: Thu Jul 07, 2005 10:31 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Quote: |
Now if I specify <iferror> in my instantion XML and specify replytoqm as QM1 and replytoq empty, how will Workflow route the error message? My guess is that I should find this in some dead letter queue. Right? I am unable to find it on QM1, QM2 and FMCQM. Hence would like to know what could have gone wrong |
Maybe it's not even generating a reply.
Quote: |
If I want the workflow error message to go to queue "Q3" of "QM3" on Machine B, what do I need to do? |
If you want to do what you said above
Quote: |
On machine B there is another applicaton that takes the message from Q1/QM2 and puts the message on to Q2/QM2. |
stick in replyToQM and ReplyToQM as QM3 Q3 while putting the message in the above app |
|
Back to top |
|
 |
ucbus1 |
Posted: Thu Jul 07, 2005 12:03 pm Post subject: |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
Vennela,
Thanks
Quote: |
Maybe it's not even generating a reply. |
I have verified by putting a message with invalid XML and Workflow is sending the response back. Tis I have tested thru a stand-alone application.
Quote: |
If you want to do what you said above
Quote:
On machine B there is another applicaton that takes the message from Q1/QM2 and puts the message on to Q2/QM2.
stick in replyToQM and ReplyToQM as QM3 Q3 while putting the message in the above app
|
The application on Machine B can not be changed due to our own limitations.
The application on machin A is inhouse developed and can be modified.
Please let me know if there are any alternatives. |
|
Back to top |
|
 |
Ratan |
Posted: Thu Jul 07, 2005 12:25 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Quote: |
I have verified by putting a message with invalid XML and Workflow is sending the response back. Tis I have tested thru a stand-alone application. |
What is problem then? _________________ -Ratan |
|
Back to top |
|
 |
ucbus1 |
Posted: Thu Jul 07, 2005 1:56 pm Post subject: |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
I have tested it from "Machine B" and gave the reply queue manager as FMCQM and queue as "Q4". I could see the error message from Workflow on "Q4".
Now when I am trying to test the same scenario form the application running on "Machine A", I am unable to locate the error message.
Quote: |
I have an application on "machine A". The application puts the XML instantaition messge on QM1,Q1.
Q1 is remote on "machine A", local on QM2 on "machine B".
On machine B there is another applicaton that takes the message from Q1/QM2 and puts the message on to Q2/QM2.
Q2 is remote on "machine B" points to local EXEXMLINPUTQ on FMCQM on "machine B".
Now if I specify <iferror> in my instantion XML and specify replytoqm as QM1 and replytoq empty, how will Workflow route the error message? My guess is that I should find this in some dead letter queue. Right? I am unable to find it on QM1, QM2 and FMCQM. Hence would like to know what could have gone wrong |
Also, If I would like to do the following
Quote: |
If I want the workflow error message to go to queue "Q3" of "QM3" on Machine B, what do I need to do? |
Without changing the application on "Machine B" what do I need to do.
Thanks |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|