lintel 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lintel::MessageQueueBootstrapPlugin Class Reference

#include <MessageQueueBootstrapPlugin.h>

Inheritance diagram for lintel::MessageQueueBootstrapPlugin:
lintel::BootstrapPlugin

Public Member Functions

 MessageQueueBootstrapPlugin (const std::shared_ptr< DatabaseConnectionConfigurations > &connectionConfigurations, std::shared_ptr< Configuration > configuration, std::shared_ptr< IMessageQueueRepository > messageQueueRepository, std::shared_ptr< ProcessName > processName)
 
void onStart () override
 
BootstrapSequence getPriority () override
 
- Public Member Functions inherited from lintel::BootstrapPlugin
 BootstrapPlugin ()=default
 
virtual ~BootstrapPlugin ()=default
 

Detailed Description

Bootstrap plugin that initializes message queue tables and repositories on startup.

Constructor & Destructor Documentation

◆ MessageQueueBootstrapPlugin()

lintel::MessageQueueBootstrapPlugin::MessageQueueBootstrapPlugin ( const std::shared_ptr< DatabaseConnectionConfigurations > &  connectionConfigurations,
std::shared_ptr< Configuration >  configuration,
std::shared_ptr< IMessageQueueRepository >  messageQueueRepository,
std::shared_ptr< ProcessName >  processName 
)
explicit

Construct a MessageQueueBootstrapPlugin.

Parameters
connectionConfigurationsdatabase connection configurations
configurationapplication configuration
messageQueueRepositoryrepository for message queue operations
processNamethe process name

Member Function Documentation

◆ getPriority()

BootstrapSequence lintel::MessageQueueBootstrapPlugin::getPriority ( )
overridevirtual

Returns the priority for ordering this plugin in the bootstrap sequence.

Implements lintel::BootstrapPlugin.

◆ onStart()

void lintel::MessageQueueBootstrapPlugin::onStart ( )
overridevirtual

Initialize the message queue tables and repository.

Implements lintel::BootstrapPlugin.


The documentation for this class was generated from the following file: