suppose 10 clients sent messages at the same time to a queue how does the messagsListnerContainer process these messages ?
does it process all messages in the queue at the same time or one after the other ?
suppose 10 clients sent messages at the same time to a queue how does the messagsListnerContainer process these messages ?
does it process all messages in the queue at the same time or one after the other ?
It depends....
It depends on your settings if there is 1 thread consuming messages it is 1 of there are more it is more. It also depends on your JMS provider and how it handles messages although that is of lesser influence as the previous statement.
Marten Deinum
Java Consultant / Pragmatist / Open Source Enthousiast / Author
Pro Spring MVC: With Web Flow
Conspect
Have you read the reference guide.
Use the [ code ] tags, young padawan
In theory that is what is happening depending on the load on the queye. If there are 1000 messages on the queue you don't want to process them ALL at once.. That is why you have a queue...
Marten Deinum
Java Consultant / Pragmatist / Open Source Enthousiast / Author
Pro Spring MVC: With Web Flow
Conspect
Have you read the reference guide.
Use the [ code ] tags, young padawan