Configuration
import { MessagingModule, InMemoryChannelConfig } from '@nestjstools/messaging';
MessagingModule.forRoot({
buses: [
{
name: 'event.message-bus',
channels: ['in-memory-channel'],
},
],
channels: [
new InMemoryChannelConfig({
name: 'in-memory-channel',
}),
],
debug: false,
logging: true,
});MessagingModule.forRoot Options
Property
Description
Default
Buses
Bus configuration
Property
Description
Default
Channels
InMemoryChannelConfig
Properties
Property
Description
Default
Last updated
Was this helpful?