vulcainjs / vulcain-corejs

Microservice framework for nodejs
https://vulcainjs.github.io
Apache License 2.0
11 stars 3 forks source link

Only one Consumer by EventHandler ? #28

Closed workfel closed 7 years ago

workfel commented 7 years ago

Hi,

I use the @EventHandler annotation and i have put 3 Consumer into this class, but when i'm starting the server, only the first consumer is loaded. It's right ?

To solve it i created 3 @EventHandler which this own Consumer.

It's a bug or it's the good way ?

Thx

malain commented 7 years ago

it's a bug. You can now (v 144) create many consumers in the same event handler