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:
Oleg Zhurakousky
2010-08-01 15:49:23 +00:00
parent 422573ca35
commit a5031020e7
2 changed files with 4 additions and 11 deletions

View File

@@ -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());
}