Author |
Message
|
urs |
Posted: Thu Oct 27, 2005 4:17 pm Post subject: Need to Send the Confirmation to the Application |
|
|
Acolyte
Joined: 27 Oct 2005 Posts: 56
|
Hi,
I am getting an xml message from the application side through MQ queue and after we receive on the ICS side, I need to send them a confirmation just stating that the message has been received.
I only need to send a confirmation saying "okay".
For this I created the ASBO for that xml message, I created a GBO with required attributes just enough to map the attribute "messageID" from ASBO to GBO. I also created a second map that maps this messageID to another BO (created as Confirmation to send it to the application) and hard setted the attribute MSGStatus to MSGOKAY.
I created a simple collaboration with one start, action(reference node) and endsuccess node. I tried to create a collab object where I had trouble in binding the From and To ports to the same MQconnector.
How can I proceed to send the confirmation to the application.
Thanks,
urs |
|
Back to top |
|
 |
wschutz |
Posted: Thu Oct 27, 2005 4:20 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
The way that would make the most sense is to have the application add a request to their messages called "Confirm on Delivery (COD)" This way, when ICS gets the message, MQ will automatically send a response back for you. _________________ -wayne |
|
Back to top |
|
 |
urs |
Posted: Thu Oct 27, 2005 4:40 pm Post subject: |
|
|
Acolyte
Joined: 27 Oct 2005 Posts: 56
|
It really looks simple:
1.For doing this, what do I have to configure with the ICS and it's components.
2.In the xml message that they send us:
If I ask them to add <Confirm On Delivery></Confirm on Delivery> before the header, is that sufficient and okay ?
Thanks,
urs |
|
Back to top |
|
 |
wschutz |
Posted: Thu Oct 27, 2005 4:47 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Nothing needs to be configured in ICS.
Tell the programmers that they need to specify a ReplyToQ in the MQ message descriptor and set the Report field to "Confirm on Delivery (MQRO_COD)" before putting the message to ICS
If they have any questions, have them post here. _________________ -wayne |
|
Back to top |
|
 |
urs |
Posted: Thu Oct 27, 2005 9:51 pm Post subject: |
|
|
Acolyte
Joined: 27 Oct 2005 Posts: 56
|
Please clear me where is this MQ message descriptor ?
Thanks,
urs |
|
Back to top |
|
 |
EddieA |
Posted: Thu Oct 27, 2005 10:40 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
MQ message descriptor |
The MQMD. It's one of the data areas passed by an application to MQ when PUTting a message. So, the sending application would set the COD when sending the message.
Cheers. _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
urs |
Posted: Fri Oct 28, 2005 9:51 am Post subject: |
|
|
Acolyte
Joined: 27 Oct 2005 Posts: 56
|
In this case, the application wants the ICS to send a confirmation as an xml document... meaning the ICS deliberately confirm that it got the message.
The original xml document contains the MessageID for tracking purposes.
How can we implement it on ICS ?
Thanks,
urs |
|
Back to top |
|
 |
|