INT-1452: fix names and counts attributes

Add global counts to mbean exporter
This commit is contained in:
Dave Syer
2010-09-21 09:31:29 +02:00
parent 3cfbbd9f79
commit 8cf6e474d2
6 changed files with 54 additions and 18 deletions

View File

@@ -125,7 +125,7 @@ abstract class AbstractMessageHandlerFactoryBean implements FactoryBean<MessageH
if (this.targetObject != null) {
Assert.state(this.expression == null,
"The 'targetObject' and 'expression' properties are mutually exclusive.");
if (this.targetObject instanceof MessageProcessor) {
if (this.targetObject instanceof MessageProcessor<?>) {
this.handler = this.createMessageProcessingHandler((MessageProcessor<?>) this.targetObject);
}
else {