Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
NAS 5.4
Description
During the harvester Registration phase the harvester shuts down if its channel ID is unknown
@Override public void visit(HarvesterRegistrationResponse msg) { // If we have already started or the message notifies for another channel, resend it. String channelName = msg.getHarvestChannelName(); if (status.isChannelValid() || !CHANNEL.equals(channelName)) { // Controller has already started jmsConnection.resend(msg, msg.getTo()); if (log.isTraceEnabled()) { log.trace("Resending harvest channel validity message for channel '{}'", channelName); } return; } if (!msg.isValid()) { log.error("Received message stating that channel '{}' is invalid. Will stop. " + "Probable cause: the channel is not one of the known channels stored in the channels table", channelName); close(); return; }
It should also send a notification about the problem before shutting down.