cxf-issues mailing list archives

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

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",
fac);
        notificationBrokerServer.setAddress("http://localhost:" + brokerPort
+ "/wsn/NotificationBroker");        
        notificationBrokerServer.init();

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,
"myTopic");

Server crashes. 




--
View this message in context: http://cxf.547215.n5.nabble.com/Notification-broker-subscription-tp5710954.html
Sent from the cxf-issues mailing list archive at Nabble.com.

Mime
View raw message