Package io.goobi.viewer.model.job.mq
Class CreateDownloadPdfMessageHandler
java.lang.Object
io.goobi.viewer.model.job.mq.CreateDownloadPdfMessageHandler
- All Implemented Interfaces:
MessageHandler<MessageStatus>
public class CreateDownloadPdfMessageHandler
extends Object
implements MessageHandler<MessageStatus>
Message handler that processes requests to generate PDF download files for digitized records.
It delegates PDF creation to the content server 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 pdf 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
-
CreateDownloadPdfMessageHandler
public CreateDownloadPdfMessageHandler()
-
-
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 pdf generation can be picked up after restart.- Specified by:
onStartupin interfaceMessageHandler<MessageStatus>
-