abroekhuis commented on issue #190: [pubsub] pubsub examples for zmq and 
tcpadmin are not working on develop
URL: https://github.com/apache/celix/issues/190#issuecomment-613278164
 
 
   > zerocopy is not the issue, i am not using this.
   > The Zmq and TcpAdmin examples are both not running because of the same 
issue.
   > The publisher example component tries to get the pubsub publisher service 
using
   > a filter. The publisher example component does not get the pubsub 
publisher service.
   > The problem is the same for ZMQ and TcpAdmin.
   > 
   > code from ps_pub_activator.c:
   > 
   > ```
   >     celix_service_tracking_options_t opts = 
CELIX_EMPTY_SERVICE_TRACKING_OPTIONS;
   >     opts.callbackHandle = act->client;
   >     opts.addWithProperties = publisher_publishSvcAdded;
   >     opts.removeWithProperties = publisher_publishSvcRemoved;
   >     opts.filter.serviceName = PUBSUB_PUBLISHER_SERVICE_NAME;
   >     opts.filter.filter = filter;
   >     opts.filter.ignoreServiceLanguage = true;
   >     long trackerId = celix_bundleContext_trackServicesWithOptions(ctx, 
&opts);
   > ```
   
   Thanks for the info, let me check if I have some local changes that are 
missing. For me the zmq example works (both with and without a scope). I can't 
test the tcp admin on OSX, since it uses epoll. A fix so that kqueue is used in 
that case would be nice ;).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to