INT-4174: Expose Channel Subscriber Count

JIRA: https://jira.spring.io/browse/INT-4174

I considered just using the channel counter but I suppose there is a (small) possibility
that someone might possibly use a custom dispatcher and subscribe to it directly.

Polishing -- ** master only **

Eliminate conditional logic in AbstractMessageChannel by adding getHandlerCount() to
MessageDispatcher.

Do not cherry pick.

* Also fix JPA tests model for proper database `sequence` to avoid race condition when the test data is inserted with lower `id` than expected predefined data has
This commit is contained in:
Gary Russell
2016-11-28 12:23:50 -05:00
committed by Artem Bilan
parent 98da5b4471
commit 96ff547c8c
10 changed files with 90 additions and 45 deletions

View File

@@ -120,6 +120,7 @@ public class MBeanAttributeFilterTests {
"MeanSendRate",
"MinSendDuration",
"StandardDeviationSendDuration",
"SubscriberCount",
"TimeSinceLastSend"));
adapterNot.stop();