1
我知道Spring,但我是JMS中的新手,並開始閱讀Spring JMS。從Spring JMS文檔Spring doc,我閱讀下列Spring中的JMS主題偵聽器中的併發值
The number of concurrent sessions/consumers to start for each listener. Can either be a simple number indicating the maximum number (e.g. "5") or a range indicating the lower as well as the upper limit (e.g. "3-5").
Note that a specified minimum is just a hint and might be ignored at runtime. Default is 1; keep concurrency limited to 1 in case of a topic listener or if queue ordering is important; consider raising it for general queues.
只是想了解爲什麼要併發限於在主題聽者的情況下?如果我增加它,說10而不是1,會發生什麼?