Open shurik239 opened 8 years ago
i'm finally looking into this and am seeing very strange behavior, indeed. i'll have to keep digging, but i suspect that this is caused by wascally's use of postal.js internally. i'm not 100% sure of that, though. i'll let you know what i find.
I have still the huge problem using wildcards in routing keys. What I want to archive: I have two subscribers: First one should listen all events in exchange. Second one should listen only event with specific routing key.
Example implementation you can find below.
If I omit messageType on Publisher - both subscribers are called twice. If i set messageType to "#" - only second subscriber will be called, but again twice.
I know about issue using messageTypes, but have no idea how can I avoid this with some workaround.