New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CQRS module lack of support for hybrid microservice #139
Comments
Please, provide a minimal repository which reproduces your issue. |
Let's track this issue here nestjs/nest#3153 |
Can we re-open this issue? We use CQRS and we'd like hybrid applications (in order to add a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Current behavior
Hello,
I'm building a microservice that will support both TCP and RMQ connections,
If I use the regular microservice set up for my project the CQRS works great.
like so:
` const microserviceOptions = {
transport: Transport.RMQ,
options: {
queue: 'data',
urls: ['amqp://localhost:5672'],
},
}
const app = await NestFactory.createMicroservice(AppModule, microserviceOptions);
app.listen(() => console.log("Microservice is listening"));`
but if change it to support hybrid application I get the
` const microserviceOptions = {
transport: Transport.RMQ,
options: {
queue: 'data',
urls: ['amqp://localhost:5672'],
},
};
const app = await NestFactory.create(AppModule);
app.connectMicroservice(microserviceOptions);
app.startAllMicroservices(() => console.log('Microservice is listening'));`
Environment
The text was updated successfully, but these errors were encountered: