|
|
@ -49,8 +49,8 @@ public class DeviceTypeOperationAdapterSubscription implements InputEventAdapter
|
|
|
|
getThreadLocalCarbonContext().getUserRealm().getRealmConfiguration().getAdminUserName());
|
|
|
|
getThreadLocalCarbonContext().getUserRealm().getRealmConfiguration().getAdminUserName());
|
|
|
|
deviceType = notificationMessage.getDeviceIdentifier().getType();
|
|
|
|
deviceType = notificationMessage.getDeviceIdentifier().getType();
|
|
|
|
MqttNotificationDataHolder.getInstance().getDeviceManagementProviderService().
|
|
|
|
MqttNotificationDataHolder.getInstance().getDeviceManagementProviderService().
|
|
|
|
updatePullNotificationOperation(notificationMessage.getDeviceIdentifier(),
|
|
|
|
notifyPullNotificationSubscriber(notificationMessage.getDeviceIdentifier(),
|
|
|
|
notificationMessage.getOperation());
|
|
|
|
notificationMessage.getOperation());
|
|
|
|
} catch (UserStoreException e) {
|
|
|
|
} catch (UserStoreException e) {
|
|
|
|
log.error("Failed to retrieve tenant username", e);
|
|
|
|
log.error("Failed to retrieve tenant username", e);
|
|
|
|
} catch (PullNotificationExecutionFailedException e) {
|
|
|
|
} catch (PullNotificationExecutionFailedException e) {
|
|
|
|