cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkayahan <>
Subject Notification broker subscription
Date Thu, 12 Jul 2012 09:50:17 GMT

I`am trying to solve a problem in a publish/subscribe project. The problem
is, when trying to subscribe to a topic by client, server throws Abstract
invoker exception. Here is the server side with jaxws;

        notificationBrokerServer = new JaxwsNotificationBroker("Hello",
        notificationBrokerServer.setAddress("http://localhost:" + brokerPort
+ "/wsn/NotificationBroker");        

When I run the server it starts and works well. Here is the client side;

 notificationBroker = new NotificationBroker("http://localhost:" +
brokerPort                               + "/wsn/NotificationBroker");
 TestConsumer callback = new TestConsumer();
 Consumer consumer = new Consumer(callback, "http://localhost:" +
consumerPort + "/test/consumer"); 

Client also starts. But when trying to subscribe (the code below) to a topic
by client side;

Subscription subscription = notificationBroker.subscribe(consumer,

Server crashes. 

View this message in context:
Sent from the cxf-issues mailing list archive at

View raw message