protected InvokerSupport createDispatcher(ActiveMQSubscription subscribe) throws NotificationException {
return new NotificationConsumerInvoker(createNotificationConsumer(subscribe));
}
protected NotificationConsumer createNotificationConsumer(final ActiveMQSubscription consumerReference) {
return new NotificationConsumer() {
@WebMethod(operationName = "Notify")
@Oneway
@RequestWrapper(className = "org.oasis_open.docs.wsn._2004._06.wsn_ws_basenotification_1_2_draft_01.Notify", localName = "Notify", targetNamespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd")
public void notify(
@WebParam(name = "NotificationMessage", targetNamespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd")