This closes #3050
This commit is contained in:
commit
5d6a534f99
|
@ -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