org.gcube.messaging.common.consumer.ghn
Class GHNMessageChecker
java.lang.Object
org.gcube.messaging.common.consumer.MessageChecker<org.gcube.messaging.common.messages.GHNMessage<?>>
org.gcube.messaging.common.consumer.ghn.GHNMessageChecker
public class GHNMessageChecker
- extends MessageChecker<org.gcube.messaging.common.messages.GHNMessage<?>>
Check GHNMessages and perform actions
- Author:
- Andrea Manzi (CERN)
Field Summary |
static GCUBELog |
logger
logger |
Method Summary |
void |
check(org.gcube.messaging.common.messages.GHNMessage<?> message)
Check the incoming message |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static GCUBELog logger
- logger
GHNMessageChecker
public GHNMessageChecker(GCUBEScope scope)
- The constructor
- Parameters:
scope
- the GHNCHecker scope
check
public void check(org.gcube.messaging.common.messages.GHNMessage<?> message)
throws java.lang.Exception
- Check the incoming message
- Specified by:
check
in class MessageChecker<org.gcube.messaging.common.messages.GHNMessage<?>>
- Parameters:
message
- the message
- Throws:
java.lang.Exception
- exception