iNTERFACEWARE Products Manual > Installing and Using Chameleon > Learning the Basics > Using Message Identities > Defining the Matching Order of Message Definitions > Sample Scenario |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
To help you gain a true understanding of this feature, let's consider the following real-world scenario. Let's assume that your interface is expecting a stream of ADT^A04 and ADT messages similar to the ones shown below:
In your application, you always want the ADT^A04 messages to be identified and parsed first using its specific grammar. Since both message types contain ADT in their identities, the ADT^A04 message must be the first matching message; otherwise, all your messages will be parsed using the ADT message grammar. By specifying the matching order of your message definitions, you can ensure that ADT^A04 messages are always identified and parsed first in your application. |