|
zt
|
 |
« on: May 08, 2008, 05:32:59 PM » |
|
I am new to this technology and I was wondering if XI50 could support the following message exchange pattern:
A Client sends a http SOAP request to the device(XI50). This request is transformed into another custom XML format and sent to a back-end service via MQ. Now the back-end service may send upto 3 XML responses via MQ back to the device(XI50). These responses should be aggregated and sent back as the SOAP response of the original http request. Assume that each of the 3 responses can have a distinct matching rule.
I am aware I have to configure a Multi-protocol Gateway service. But how do I aggregate the three messages?, can the backside MQ Handler handle sequencing etc..As you can see I still a new-bee in this product.
Thanks zt
|
|
|
|
|
Logged
|
|
|
|
|
zt
|
 |
« Reply #1 on: May 16, 2008, 12:39:06 PM » |
|
Can somebody respond to the question???
|
|
|
|
|
Logged
|
|
|
|
|
LordB
|
 |
« Reply #2 on: May 20, 2008, 11:44:13 AM » |
|
This doesnt fit the normal request responce process in datapower. You may be able to do it but it would not be simple and would not work throught the normal backend process.
|
|
|
|
|
Logged
|
|
|
|
|
Guillermo
|
 |
« Reply #3 on: May 26, 2008, 03:18:12 PM » |
|
I guess a naive workaround to this problem is to crete a service that reads 1 message(A). Then create another (B) one that consumes (A) 3 times storing the results in variables for future manipulation. The proccess wil consist in putting the 3 messages in a queue ((A) will get them), but B will be listening in a diferent one, so when you finish putting the 3 messages you will send a dummie one informing B to start his "orchestration". If more than 3 messages are put in A´s queue you ´ll probably have to manipulate the Back End URL during runtime or something to retrieve the messages by id (informated in the dummie perhaps). This is only one opinion but the bottom line is that you ´ll have to start playing with the different tools.
Hope it helps.
|
|
|
|
|
Logged
|
|
|
|
|
AltafH
|
 |
« Reply #4 on: July 03, 2008, 04:35:21 AM » |
|
I think your pattern would be quite difficult to implement using DP. You are better of using Message Broker for that kind of pattern
|
|
|
|
|
Logged
|
|
|
|
|