Community
Participate
Working Groups
org.eclipse.ecf.remoteservice.eventadmin.DistributedEventAdmin.handleSendMessageException(String, Event, Object[], IOException) always throws a ServiceException but I can see use-cases where it's fine if events with non-serializable data just get ignored. Thus allow users to configure the behavior (with a system property). -Dorg.eclipse.ecf.remoteservice.eventadmin.DistributedEventAdmin.IgnoreSerialzationFailures=true
Also see bug #412186 ([Distributed EventAdmin] Revert to "SmartSerialization" if event data not serializable)
http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/commit/?id=4e252b22a27185acf76a2a641ec2396afa55581c adds the system property to ignore serialization exceptions.
http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/commit/?id=610a2412e9e31426f32cc2da16a9117f1670584f adds a second mechanism with which one can register an EventTopicFilter service that defines event topics that will only be send out locally and not remoting attempts will be made.