}
ISharedObject so = sharedObjectService.getSharedObject(scope, name);
if (so != null) {
if (so.isPersistent() == persistent) {
log.debug("Dispatch persistent shared object");
so.dispatchEvent(message);
} else {
log.warn("Shared object persistence mismatch - current: {} incoming: {}", so.isPersistent(), persistent);
// reset the object so we can re-use it
message.reset();
// add the error event