Replies: 2 comments
-
Once a message is dequeued from an event queue, it will be processed by all event handlers that are configured for that queue. The actions on the event handler will only be executed for the EH for which the condition is satisfied. For the EH that do not satisfy the condition, the actions will be skipped. @ritu-p Could you please help with the event handler issue that @rmindel is running into with RabbitMQ queues? |
Beta Was this translation helpful? Give feedback.
-
Hi @rmindel , By disabling do you mean deleting an event handler? I think deleting handles diconnection.I have to look into the code to tell for sure. |
Beta Was this translation helpful? Give feedback.
-
I have a queue with work items.
I want to have 2 different actions depending on a property within the work item message.
If I create 2 event handlers on the same queue, with 2 conditions:
EH1.Condition - $.Data == 1
EH2.Condition - $.Data == 2
If EH1 takes a message with Data = 2, will the EH return that message to the queue, or pass it to the other EH somehow?
Or do I need 2 queues for 2 Event Handlers?
Also dealing with event handlers with rabbit mq queues seems a little unstable.
When disabling an EventHandler that's consuming a rabbitMQ queue, the consumer stays on the queue and messages keep getting removed from that queue.
so I was wondering what's the correct way of dealing with EH (when creating, removing, disabling and updating them)
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions