Skip to main content

Create Message Broker Service

Creates the service for the message broker.

Event Name

CreateMessageBrokerService

Event Params

export interface CreateMessageBrokerServiceParams extends EventParams {}

This event does not use any additional parameters.

Example

async afterCreateMessageBrokerService(
dsgContext: dotnetTypes.DsgContext,
eventParams: dotnet.CreateMessageBrokerServiceParams,
files: FileMap<Class>
): Promise<FileMap<Class>> {
const messageBrokerFiles = await createMessageBroker(dsgContext);
await files.merge(messageBrokerFiles);
return files;
}