INT-1495: change default domain to org.springframework.integration
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
<context:mbean-server id="mbs" />
|
||||
|
||||
<context:mbean-export server="mbs" default-domain="spring.application"/>
|
||||
<context:mbean-export server="mbs" default-domain="test.PollingAdapterMBean"/>
|
||||
|
||||
<int:channel id="testChannel" />
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
|
||||
<int:logging-channel-adapter channel="testChannel"/>
|
||||
|
||||
<jmx:mbean-export id="integrationMbeanExporter" server="mbs"/>
|
||||
<jmx:mbean-export id="integrationMbeanExporter" server="mbs" default-domain="test.PollingAdapterMBean"/>
|
||||
|
||||
</beans>
|
||||
|
||||
@@ -40,7 +40,7 @@ public class PollingAdapterMBeanTests {
|
||||
@Test
|
||||
public void testMessageSourceMBeanExists() throws Exception {
|
||||
// System.err.println(server.queryNames(new ObjectName("*:type=MessageSource,*"), null));
|
||||
Set<ObjectName> names = server.queryNames(new ObjectName("spring.application:type=MessageSource,*"), null);
|
||||
Set<ObjectName> names = server.queryNames(new ObjectName("test.PollingAdapterMBean:type=MessageSource,*"), null);
|
||||
assertEquals(1, names.size());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user