Package io.goobi.viewer.model.job.mq
Class CreateDownloadEpubMessageHandler
java.lang.Object
io.goobi.viewer.model.job.mq.CreateDownloadEpubMessageHandler
- All Implemented Interfaces:
MessageHandler<MessageStatus>
public class CreateDownloadEpubMessageHandler
extends Object
implements MessageHandler<MessageStatus>
Message handler that processes requests to generate EPUB download files for digitized records.
It delegates the actual conversion to an external EPUB converter and notifies the requester by e-mail upon completion.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(ViewerMessage message, MessageQueueManager queueManager) Call this method to execute the ticket.voidremove all creating.lock files so epub generation can be picked up after restart.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.goobi.viewer.controller.mq.MessageHandler
call
-
Constructor Details
-
CreateDownloadEpubMessageHandler
public CreateDownloadEpubMessageHandler()
-
-
Method Details
-
call
Description copied from interface:MessageHandlerCall this method to execute the ticket.- Specified by:
callin interfaceMessageHandler<MessageStatus>- Parameters:
message- The ticket to handlequeueManager- reference to to manage the queue- Returns:
- V
-
getMessageHandlerName
- Specified by:
getMessageHandlerNamein interfaceMessageHandler<MessageStatus>
-
onStartup
public void onStartup()remove all creating.lock files so epub generation can be picked up after restart.- Specified by:
onStartupin interfaceMessageHandler<MessageStatus>
-