Forum Discussion

Said's avatar
Said
Contributor
6 years ago
Solved

Advice on how to read multiple messages from queue

Hi, I have the following situation: A XML message is put on a sourceQueue. There is a repeating group in this XML message An adapter process this message and puts multiple XML messages on a t...
  • Said's avatar
    Said
    6 years ago

    Hi richie

    Thanks for your answer. I have managed to create a script for this. I have used the code on this page. I used XmlSluper() to combine the messages on the queue to 1 big xml. Then I did all my checks (comparing source and target). When I need to test I request the developers to stop the adapter, so that I can pick up the messages. We might create a separate queue in the future for testing purpose.