I have a MyMessageHandler which is managed by NServiceBus host process. The handle stores the message in the database.
Is there a way to tell NServiceBus host process to start multiple instance of MyMessageHandler process/task in parallel so we can increase message throughput.
public class MyMessageHandler : IHandleMessages<MyMessage>
{
public void Handle(MyMessage message)
{
// Sync call store message into the database
}
}
The answer is here NServicebus - One endpoint multiple handlers threading