// service names with different namespace
final QName SERVICE_A = new QName("urn:testa", "Service");
final QName SERVICE_B = new QName("urn:testb", "Service");
// two domains
MockDomain domain1 = _domain;
MockDomain domain2 = new MockDomain(domain1.getServiceRegistry());
ServiceReference referenceA = domain1.registerServiceReference(SERVICE_A, new InOnlyService());
Service serviceA = domain1.registerService(SERVICE_A, new InOnlyService(), new MockHandler());
domain2.registerServiceReference(SERVICE_B, new InOnlyService());
domain2.registerService(SERVICE_B, new InOnlyService(), _provider);
MockExchange ex = new MockExchange();
Message msg = ex.createMessage().setContent("TEST");
ex.setMessage(msg);
ex.consumer(referenceA, new InOnlyOperation(null));