Initial Changes for SPR 4.0.0.RC1

- MessageConverter
This commit is contained in:
Gary Russell
2013-10-21 10:28:37 -04:00
parent b1f9aed694
commit b31018945d
16 changed files with 76 additions and 67 deletions

View File

@@ -17,6 +17,7 @@ import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.jmx.export.MBeanExporter;
@@ -41,7 +42,7 @@ public class ControlBusParserTests {
MessageChannel control = this.context.getBean("controlChannel", MessageChannel.class);
GenericMessagingTemplate messagingTemplate = new GenericMessagingTemplate();
Object value = messagingTemplate.convertSendAndReceive(control,
"@integrationMbeanExporter.getChannelSendRate('testChannel').count");
"@integrationMbeanExporter.getChannelSendRate('testChannel').count", null);
assertEquals(new Integer(0), value);
MBeanExporter exporter = this.context.getBean(MBeanExporter.class);
exporter.destroy();