Skip to content

Commit bdb6ec2

Browse files
committed
Revert disabling notifications
1 parent 0de05e2 commit bdb6ec2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webapp/src/main/java/org/apache/atlas/notification/EntityNotificationListenerV2.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ private void sendNotifications(OperationType operationType, List<EntityNotificat
236236
}
237237

238238
private void sendNotifications(OperationType operationType, List<EntityNotificationV2> messages, boolean forceInline) throws AtlasBaseException {
239-
/*if (!messages.isEmpty()) {
239+
if (!messages.isEmpty()) {
240240
try {
241241
if (forceInline) {
242242
inlineNotificationSender.send(operationType, messages);
@@ -247,7 +247,7 @@ private void sendNotifications(OperationType operationType, List<EntityNotificat
247247
} catch (NotificationException e) {
248248
throw new AtlasBaseException(AtlasErrorCode.ENTITY_NOTIFICATION_FAILED, e, operationType.name());
249249
}
250-
}*/
250+
}
251251
}
252252

253253
private AtlasEntityHeaderWithRelations toNotificationHeader(AtlasEntity entity) {

0 commit comments

Comments
 (0)