Support configuration of mailbox capacity in spring
For the 'ExecutorBasedEventDrivenDispatcher' and the 'ExecutorBasedWorkStealingDispatcher' you can make the Actor mailbox bounded by a capacity:
self.dispatcher.withNewThreadPoolWithBoundedBlockingQueue(100).setMailboxCapacity(1000).buildThreadPool
support this in spring config
self.dispatcher.withNewThreadPoolWithBoundedBlockingQueue(100).setMailboxCapacity(1000).buildThreadPool
support this in spring config
Leave a comment