Is there a way to delay the consumption of a message in an Enterprise Service Bus until either X similar messages are ready or Y time elapsed?
My goal is to serialize and aggregate several messages in the consumer so I don't hit my storage for a message, but for a batch instead.
I'm currently playing with Rhino ESB. I would like to know my options with this ESB or any other you know about.
Thanks!
In NServiceBus you can send a batch of messages in a single call. This will process as if each message was send individually. The other option is to use a Saga, or long-running workflow that is built-in. You can uniquely identify and correlate message state and leverage a timeout mechanism that keeps track of time.