Open NotBobTheBuilder opened 7 years ago
Hey @NotBobTheBuilder - the DSL has been designed to eventually support this, but it hasn't been implemented yet. Can you define three separate subscriptions? I realize this creates more channels than you might prefer.
Since 1.0 I've been carving the code towards support for this, removing another barrier with a recent refactoring of SubscriptionActor. It shouldn't be difficult to implement this feature at this point. Help is certainly welcome!
Is it possible to consume from multiple queues in op-rabbit?
I've tried various permutations of this, but I can only seem to get the last-defined subscription to take effect, the others don't act. Here's what I was hoping would work:
Or even potentially chaining the consumers together with ~, as is done in the akka-http routing tool.
I've tried 3
channel
blocks inside oneSubscription.run
, 3consume
blocks inside one channel, and 3 separateSubscription.run
s, none of which seem to work. Could you give an example of how to consume 3 different queues?