flowable / flowable/flowable-engine

Incoming event starts process for suspended process definition

オープン
#3,601 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
9.5k
フォーク
2.9k
平均マージ
7時間 8分
マージ済み PR(30日)
2

説明

**Describe the bug**
I have set up a process definition with a start event using the event registry linked to a RabbitMQ channel.

Everything works as expected when sending a message to the RabbitMQ queue.

Afterwards, I suspend the process definition and I send a message to the RabbitMQ queue again.

The message receiver will try to start a process but fails to do so due to the process definition being suspended. The RabbitMQ message is then considered to be in error and is retried, creating an infinite loop.

**Expected behavior**
I would expect starting a process from a suspended process definition id not to happen, or having the event subscription to no longer match the given process definition.

If there is any workaround for this, I would be happy to try this as well.

**Additional context**
Using Flowable 6.8.0
Using Flowable within Spring Boot

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、Spring Boot と RabbitMQ をバックエンドにした開始イベントを使用する Flowable 6.8.0 のシナリオを再現します。プロセス定義を停止し、その後に別のメッセージを送信します。イベントサブスクリプションとメッセージレシーバーの経路を追跡し、停止された定義がどのようにマッチングされ、再試行されるかを確認します。停止された定義宛てのメッセージがプロセスの開始に使用されず、無限の再試行ループにも入らないことを確認できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, rabbitmq, spring-boot
領域
backend, distributed-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。