QueryAck in Batches
There is a gateway scenario in the netherlands, where the gateway routes (clones of) one inbound query to multiple systems, and collects all of the responses in 1 batch, which is then returned to the original querying party. In the situation were 2 or more applications return an AE in their query response, the batch will contain multiple interactions containing an AE. (e.g. AA AA AA AE AA AA AA AE AA AA)
For this to work, a queryAck with AE in it does not autmatically imply that there are no further responses (this may require a change in the definition). Only if QueryAck.resultRemaing is equal to 0 shall the querying system be able to determine that there are no additional results.