public void testRawNotify() throws Exception {
ReceiverComponent receiver = new ReceiverComponent();
jbi.activateComponent(receiver, "receiver");
// START SNIPPET: notify
EndpointReferenceType consumer = createEPR(ReceiverComponent.SERVICE, ReceiverComponent.ENDPOINT);
wsnBroker.subscribe(consumer, "myTopic", null, true);
Element body = parse("<hello>world</hello>");
wsnBroker.notify("myTopic", body);
// END SNIPPET: notify