@@ -297,9 +297,10 @@ public void setConcurrency(String concurrency) {
297297	 * to scale the consumption of messages coming in from a queue. However, 
298298	 * note that any ordering guarantees are lost once multiple consumers are 
299299	 * registered. In general, stick with 1 consumer for low-volume queues. 
300- 	 * <p><b>Do not raise the number of concurrent consumers for a topic.</b> 
301- 	 * This would lead to concurrent consumption of the same message, 
302- 	 * which is hardly ever desirable. 
300+ 	 * <p><b>Do not raise the number of concurrent consumers for a topic, 
301+ 	 * unless vendor-specific setup measures clearly allow for it.</b> 
302+ 	 * With regular setup, this would lead to concurrent consumption 
303+ 	 * of the same message, which is hardly ever desirable. 
303304	 * <p><b>This setting can be modified at runtime, for example through JMX.</b> 
304305	 * @see #setMaxConcurrentConsumers 
305306	 */ 
@@ -470,16 +471,6 @@ public final int getIdleTaskExecutionLimit() {
470471		}
471472	}
472473
473- 	@ Override 
474- 	protected  void  validateConfiguration () {
475- 		super .validateConfiguration ();
476- 		synchronized  (this .lifecycleMonitor ) {
477- 			if  (isSubscriptionDurable () && this .concurrentConsumers  != 1 ) {
478- 				throw  new  IllegalArgumentException ("Only 1 concurrent consumer supported for durable subscription" );
479- 			}
480- 		}
481- 	}
482- 
483474
484475	//------------------------------------------------------------------------- 
485476	// Implementation of AbstractMessageListenerContainer's template methods 
0 commit comments