I'm using the scheduled task adapter to trigger orchestrations, using the XmlStringStreamProvider, and to create a singleton pattern in the orchestration.
The receive location is configured to trigger a message every minute and the orchestration is designed with a loop to ignore other trigger messages in case the duration exceed 1 min.
It's not perfect and I get Zombie messages.
The issue is that 2 messages are sent to my orchestration every minute ..
I did a test, triggering an orchestration without the singleton pattern loop, and two instances started at the same time, after 1 min.
And when I look at my zombie messages in the suspended instance, they are always by pair.
In the example attached:
- The orchestration started at 3:55:00 (triggered by 1 message from the adapter, and ignore the duplicate)
- At the end, there are 4 zombie messages, you can group them by 2: same message ID, same creation date.
- 2 messages created at 3:55:58 and 2 messages created at 3:55:59
So for a schedule set up every minute, something is wrong ...
Any help would be welcome :)