Creates a new message repository instance.
The validator instance
The database config instance
The logger instance
The database connector instance
Creates a message with complete HTTP transaction details.
The ID of the campaign to create the message in
The unique identifier for the message
The ID of the proxy that processed this message
The ID of the target that handled this message
The ID of the session that generated this message
The message type
The HTTP method
The request URL
The request headers
The request body
The HTTP status code
The response headers
The response body
Connection details
Payload information
Array of errors that occurred during processing
Analyze identifier
Start timestamp
Finish timestamp
DatabaseError If any of the referenced entities does not exist
DatabaseError If a message with the same ID already exists
Creates a dummy message.
The ID of the campaign to create the message in
The unique identifier for the message
The ID of the proxy that processed this message
The ID of the target that handled this message
The ID of the session that generated this message
DatabaseError If any of the referenced entities does not exist
DatabaseError If a message with the same ID already exists
Reads a message by its ID.
The ID of the campaign containing the message
The unique identifier of the message
The message model, or null if not found
Reads a full message by its ID.
The ID of the campaign containing the message
The unique identifier of the message
The full message model, or null if not found
StaticregisterRegister message repository instance as singleton in DI container.
DI container to register in
Redis message repository implementation.