Skip to content
Snippets Groups Projects
Commit ec147fe8 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

chore: Enable message sending in ObservationService

parent d72d37c7
No related branches found
No related tags found
1 merge request!173ObservationDataSchema for eplevikler and ObservationTimeSeries
......@@ -1022,9 +1022,8 @@ public class ObservationService {
if (sendNotification && !
(System.getProperty("DISABLE_MESSAGING_SYSTEM") != null && System.getProperty("DISABLE_MESSAGING_SYSTEM").equals("true"))
) {
LOGGER.info("Message sending is temporarily disabled");
// LOGGER.debug("Sending the message!");
// messagingBean.sendUniversalMessage(mergeObs);
LOGGER.debug("Sending the message!");
messagingBean.sendUniversalMessage(mergeObs);
}
return Response.ok().entity(mergeObs).build();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment