ReceiverComponent receiver = new ReceiverComponent();
receiver.setService(new QName("receiver"));
receiver.setEndpoint("endpoint");
jbi.activateComponent(new ActivationSpec("receiver", receiver));
EndpointReferenceType epr = new EndpointReferenceType();
epr.setAddress(new AttributedURIType());
epr.getAddress().setValue("http://localhost:8192/Receiver/?http.soap=true");
wsnBroker.subscribe(epr, "myTopic", null);
wsnBroker.notify("myTopic", parse("<hello>world</hello>"));
receiver.getMessageList().assertMessagesReceived(1);
}