-
Notifications
You must be signed in to change notification settings - Fork 73
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
RabbitMq client still a Promise on App start up #322
Comments
@paulvitic thanks for reporting an issue.
|
Hello @JozefFlakus thnaks for the response. I am using the amqp client dependency inside an event store implementation that conforms to:
DomainEvent is just an extension of Marbles's Event struct Here is how I am dealing with it now
|
Are you able to create a minimal, reproducible repository that shows the problem? Are you sure that the queue options are correct? Eg. lets say that |
I will try, by the way, to be clear, the above implementation, when I await the rabbitMqClient works. |
@paulvitic any updates in this topic? |
Unfortunately this issue seems stale. Anyways @JozefFlakus we tried to get Marble running with an RabbitMq and failed as well. We even checked out marble source code, ran "yarn" and "yarn build". "yarn test:integration" does show that there might be a real problem with messaging since the tests are red. The script downloaded the latest "rabbitmq:management". Maybe you can have a look? |
Describe the bug
Following the Marble docs for creating an amqp publisher I receive the following error on app start-up
(node:90349) UnhandledPromiseRejectionWarning: TypeError: rabbitMqClient.send is not a function
because the resolved rabbitMQ client is still a Promise even though it was eagerly bounded to the context
To Reproduce
Amqp publisher
Http effect
App
Expected behavior
App starts up.
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: