Is there a mechanism to direct a message to be processed by a particular thread in a service. I have messages arriving at a service with 10 threads. The messages have a data field with an identifier. I would like to hash the ID and direct the message to a thread based on the hash. That way the all items with the same identifier are assured to be processed by the same thread.
If there is no direct mechanism to do this can you please offer some recommended ways to implement this.