What if my consumer message listener in the simple version is stateless and does not require any synchronization? Like receive message and insert message data in a database. Multiple messages should be processed in parallel. Please correct me if I'm missing something.
* pooling of MessageListener instances so that multiple messages can be processed in parallel (e.g. if you want to process messages on a queue, you might wanna process them in parallel, using 1 MessageListener per thread or something)