I'm learning JMS to implement one functionality for our web app. we want the clients to send a certain kind of message to a message queue and after like 10 msgs in this queue, we will do a batch insert into the database. I look into the JMS providers, seems that ActiveMQ will be a choice. My question is this: do I have to implement the messageListener for each of the client? and where to put the message queue? Could you tell me the brief steps for doing this?