Class CampaignEventPublisher
java.lang.Object
com.minicrm.mini_crm_api.messaging.CampaignEventPublisher
A dedicated service for publishing campaign-related events to RabbitMQ.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpublishCampaignProcessEvent(String campaignId) Publishes an event to the message queue, indicating that a new campaign needs to be processed by a background worker.
-
Constructor Details
-
CampaignEventPublisher
public CampaignEventPublisher()
-
-
Method Details
-
publishCampaignProcessEvent
Publishes an event to the message queue, indicating that a new campaign needs to be processed by a background worker.- Parameters:
campaignId- The ID of the newly created campaign.
-