|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Schemas: Message Validation and Transformation |
« View previous topic :: View next topic » |
Author |
Message
|
catwood2 |
Posted: Sat Feb 28, 2004 10:49 am Post subject: Schemas: Message Validation and Transformation |
|
|
Centurion
Joined: 17 May 2002 Posts: 108
|
We are running WMQI 2.1 latest CSD. It is our intention to do the following:
1. Import XML Schemas into the MRM for multiple external systems that will engage in multiple transaction types:
External System1 create ticket in External System 2
External System1 update ticket in External System 2
External System2 create ticket in External System 1
External System2 update ticket in External System 1
etc
2. First subflow will determine message destination and ticket type in compute node using XML parser. Using dynamic Routing send message to the target subflow (External System1 create ticket message bound for target External System2)
3. Target subflow will contain ResetContentDescriptor to change parser from XML to MRM. Compute node will map Ext Sys1 create message to Ext Sys2 create message set to create an output message that ExtSys2 will be able to process.
So, I guess two questions:
1. Overall, am I missing anything glaring in this approach?
2. If at step 3, the compute node will need to perform some transformation - such as changing a field value so that the target system gets the value it expects (eg, need to change value of priority field from '1' to 'high') - will this be outside the schema/message set domain and require a transformation database that holds the values?
Appreciate the feedback. And, as I'm still riding the learning curve, I'll go post my monetary donation to keep this board alive as it is quite the resource.
chris |
|
Back to top |
|
 |
wooda |
Posted: Mon Mar 01, 2004 4:24 am Post subject: |
|
|
 Master
Joined: 21 Nov 2003 Posts: 265 Location: UK
|
Hi catwood.
The Answers to your questions are;
Quote: |
1. Overall, am I missing anything glaring in this approach? |
No
Quote: |
2. If at step 3, the compute node will need to perform some transformation - such as changing a field value so that the target system gets the value it expects (eg, need to change value of priority field from '1' to 'high') - will this be outside the schema/message set domain and require a transformation database that holds the values? |
Yes you cannot store this kind of value mapping in the message set or schema. You can either code the transformation directly in ESQL or if you have a lot of value transformations to do then as you say use an external database. |
|
Back to top |
|
 |
catwood2 |
Posted: Mon Mar 01, 2004 6:59 am Post subject: |
|
|
Centurion
Joined: 17 May 2002 Posts: 108
|
Zanda,
Greatly appreciate the feedback! |
|
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
|
|
|
|