|
Sample ScenarioTo 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:
ADT^A04 Message
ADT^A03 Message 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. |