INT-1307 Updated schema to make sure its compatible with Java 5 (when using <xsd:any namespace="##other"..> and <beans:bean. . .> element we were violating Unique Particle Attribute, so sine we already say any-other, there is no need to explicitly include <beans:bean>), changed ControlBusXmlTest.anonymousConsumerRegistered() since it was throwing MalformedObjectNameException: invalid character '*' which was used in 'generated=*'
This commit is contained in:
@@ -72,7 +72,7 @@ public class ControlBusXmlTests {
|
||||
@Test
|
||||
public void anonymousConsumerRegistered() throws Exception {
|
||||
Set<ObjectInstance> instances = mbeanServer.queryMBeans(
|
||||
ObjectNameManager.getInstance(DOMAIN + ":type=endpoint,name=anonymous,generated=*"), null);
|
||||
ObjectNameManager.getInstance(DOMAIN + ":type=endpoint,name=anonymous,*"), null);
|
||||
assertEquals(1, instances.size());
|
||||
assertEquals(EventDrivenConsumer.class.getName(), instances.iterator().next().getClassName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user