NO-JIRA remove stale notification property
This appears to have been added to the code-base by mistake over 10 years ago. It seems related to debugging and I can't see anywhere where it is actually used so I'm removing it.
This commit is contained in:
parent
e01ba095c1
commit
d0afa6a7e6
|
@ -1686,13 +1686,9 @@ public class PostOfficeImpl implements PostOffice, NotificationListener, Binding
|
|||
|
||||
message.setAddress(queueName);
|
||||
|
||||
String uid = UUIDGenerator.getInstance().generateStringUUID();
|
||||
|
||||
message.putStringProperty(ManagementHelper.HDR_NOTIFICATION_TYPE, new SimpleString(type.toString()));
|
||||
message.putLongProperty(ManagementHelper.HDR_NOTIFICATION_TIMESTAMP, System.currentTimeMillis());
|
||||
|
||||
message.putStringProperty(new SimpleString("foobar"), new SimpleString(uid));
|
||||
|
||||
return message;
|
||||
}
|
||||
|
||||
|
|
|
@ -693,10 +693,6 @@ public class ManagementServiceImpl implements ManagementService {
|
|||
|
||||
notificationMessage.putLongProperty(ManagementHelper.HDR_NOTIFICATION_TIMESTAMP, System.currentTimeMillis());
|
||||
|
||||
if (notification.getUID() != null) {
|
||||
notificationMessage.putStringProperty(new SimpleString("foobar"), new SimpleString(notification.getUID()));
|
||||
}
|
||||
|
||||
postOffice.route(notificationMessage, false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue