solution found. The AMQ4 is run embedded in geronimo2.1. And the default thread pool has only size from 30 for the whole system.
so.....increase the ConnectorThreadPool prevent such RejectedExecutionException http://cwiki.apache.org/GMOxDOC22/monitoring-thread-pools.html -- View this message in context: http://old.nabble.com/RejectedExecutionException--and-Message-stalled-in-AMQ-4-tp26799491p27863495.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.