Author |
Message
|
broker_new |
Posted: Tue Mar 20, 2007 3:24 pm Post subject: Multiple Message Sets |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
I have to message defnition files i need to parse the input message with the two message sets.
Can anyone help me in sorting out this problem. _________________ IBM ->Let's build a smarter planet
Last edited by broker_new on Tue Mar 20, 2007 4:24 pm; edited 1 time in total |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 20, 2007 3:39 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You mean you need to parse part of the input message with one message set, and the rest of the input message with another message set.
Right?
You don't mean that you need to parse the entire input message with one message set, and then reparse the entire input message with the other message set. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
broker_new |
Posted: Tue Mar 20, 2007 3:44 pm Post subject: |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
Jeff,
I need to parse part of the input message with one message set, and the rest of the input message with another message set. _________________ IBM ->Let's build a smarter planet |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 20, 2007 3:53 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
broker_new |
Posted: Tue Mar 20, 2007 6:35 pm Post subject: |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
I have a single message Defnition file in a message set.
I have defined two messages in the message defnition file.
if record starts with 1000 the input message should be parsed with the first message.
If record starts with 2000 the input message should be parsed with the second message.
Can anyone help me how to set the properties in the message set. _________________ IBM ->Let's build a smarter planet |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 20, 2007 7:21 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you use TDS, you can do this in a single message definition file.
Just define your "message" to be an element of a complex type that is composed of a choice between complex types, one of which is tagged with 1000, the other of which is tagged with 2000.
But that's all within a single message set in a single message definition file.
Which is not what your original question was about. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Balaji_P |
Posted: Thu Mar 22, 2007 2:15 am Post subject: |
|
|
Apprentice
Joined: 05 Sep 2006 Posts: 36 Location: Chennai
|
Based on your requirement, i guess you can use Envelope concept.
USe the Field(whcih identifies that 100 or 2000) as MEssagIdentity adn Dynamically load during runtime. |
|
Back to top |
|
 |
kimbert |
Posted: Thu Mar 22, 2007 4:06 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
|
Back to top |
|
 |
broker_new |
Posted: Fri Mar 23, 2007 2:43 pm Post subject: |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
I sorted out this with the help of GroupIndicators one type with 1000 and other with 2000. _________________ IBM ->Let's build a smarter planet |
|
Back to top |
|
 |
|