Package org.teamapps.cluster.core
Class MessageQueueEntry
java.lang.Object
org.teamapps.cluster.core.MessageQueueEntry
public class MessageQueueEntry
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description MessageQueueEntry(boolean resendOnError, boolean serviceExecution, org.teamapps.protocol.schema.MessageObject message, java.lang.String serviceName, java.lang.String serviceMethod, boolean serviceResponse, long requestId)MessageQueueEntry(boolean resendOnError, org.teamapps.protocol.schema.MessageObject message) -
Method Summary
Modifier and Type Method Description org.teamapps.protocol.schema.MessageObjectgetMessage()longgetRequestId()java.lang.StringgetServiceMethod()java.lang.StringgetServiceName()longgetTimestamp()booleanisResendOnError()booleanisServiceExecution()booleanisServiceResponse()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MessageQueueEntry
public MessageQueueEntry(boolean resendOnError, org.teamapps.protocol.schema.MessageObject message) -
MessageQueueEntry
public MessageQueueEntry(boolean resendOnError, boolean serviceExecution, org.teamapps.protocol.schema.MessageObject message, java.lang.String serviceName, java.lang.String serviceMethod, boolean serviceResponse, long requestId)
-
-
Method Details
-
getTimestamp
public long getTimestamp() -
isResendOnError
public boolean isResendOnError() -
getMessage
public org.teamapps.protocol.schema.MessageObject getMessage() -
isServiceExecution
public boolean isServiceExecution() -
getServiceName
public java.lang.String getServiceName() -
getServiceMethod
public java.lang.String getServiceMethod() -
isServiceResponse
public boolean isServiceResponse() -
getRequestId
public long getRequestId()
-