final SoapService serverSide = new SoapService(registry);
serverSide.setRepairingNamespace(true);
ActiveMQNotificationBroker broker = new ActiveMQNotificationBroker() {
protected org.servicemix.ws.notification.NotificationConsumer createNotificationConsumer(EndpointReferenceType consumerReference) {
return ActiveSOAPNotificationConsumer.newSoapInstance(new LocalTransportClient(serverSide));
}
};
addSubscription(broker);
sendNotification(broker);