Package com.axemble.vdoc.sdk.interfaces
Interface IJMSQueueDeclaration<M extends IJMSMessage>
- Type Parameters:
M
- the message implementation
public interface IJMSQueueDeclaration<M extends IJMSMessage>
Implementation of this interface are looked up at application startup and used to create queue if doesnt exist and start consumers which
will process queue's messages.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the context prefix for the queue Exemple : contextPrefix = XtendedSearch.Indexation / queueName = Users for a queue which index user in XtendedSearchreturn the message processor list to start on the queueReturn the queue name
-
Method Details
-
getContextPrefix
String getContextPrefix()Return the context prefix for the queue Exemple : contextPrefix = XtendedSearch.Indexation / queueName = Users for a queue which index user in XtendedSearch- Returns:
- the context prefix
-
getQueueName
String getQueueName()Return the queue name- Returns:
- the queue name
-
getMessageProcessors
List<IJMSMessageProcessor<M>> getMessageProcessors()return the message processor list to start on the queue- Returns:
- the message processor list
-