Skip to content

Commit 68063b1

Browse files
committed
improved async config
1 parent 90d92e5 commit 68063b1

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

src/main/resources/bpe/ping.bpmn

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<bpmn:extensionElements />
1212
<bpmn:incoming>Flow_0j92st0</bpmn:incoming>
1313
<bpmn:outgoing>Flow_099pk09</bpmn:outgoing>
14-
<bpmn:multiInstanceLoopCharacteristics camunda:asyncBefore="true" camunda:asyncAfter="true" camunda:exclusive="false" camunda:collection="${targets.entries}" camunda:elementVariable="target">
14+
<bpmn:multiInstanceLoopCharacteristics camunda:asyncBefore="true" camunda:exclusive="false" camunda:collection="${targets.entries}" camunda:elementVariable="target">
1515
<bpmn:extensionElements>
16-
<camunda:failedJobRetryTimeCycle>R0/PT5M</camunda:failedJobRetryTimeCycle>
16+
<camunda:failedJobRetryTimeCycle>R3/PT5S</camunda:failedJobRetryTimeCycle>
1717
</bpmn:extensionElements>
1818
</bpmn:multiInstanceLoopCharacteristics>
1919
<bpmn:startEvent id="SubProcessStartEvent">
@@ -97,8 +97,10 @@
9797
<bpmn:sequenceFlow id="Flow_0wmpprs" sourceRef="LogPong" targetRef="Gateway_09z7b0z" />
9898
<bpmn:sequenceFlow id="Flow_136htek" sourceRef="LogNoResponse" targetRef="Gateway_09z7b0z" />
9999
<bpmn:sequenceFlow id="Flow_16ssf4a" sourceRef="LogSendError" targetRef="Gateway_09z7b0z" />
100-
<bpmn:endEvent id="SubProcessEndEvent" camunda:asyncBefore="true">
101-
<bpmn:extensionElements />
100+
<bpmn:endEvent id="SubProcessEndEvent" camunda:asyncAfter="true">
101+
<bpmn:extensionElements>
102+
<camunda:failedJobRetryTimeCycle>R3/PT5S</camunda:failedJobRetryTimeCycle>
103+
</bpmn:extensionElements>
102104
<bpmn:incoming>Flow_1ho1hys</bpmn:incoming>
103105
</bpmn:endEvent>
104106
<bpmn:sequenceFlow id="Flow_1ho1hys" sourceRef="Gateway_09z7b0z" targetRef="SubProcessEndEvent" />
@@ -127,13 +129,6 @@
127129
<dc:Bounds x="260" y="80" width="100" height="80" />
128130
<bpmndi:BPMNLabel />
129131
</bpmndi:BPMNShape>
130-
<bpmndi:BPMNShape id="EndEvent_1rdxonv_di" bpmnElement="EndEvent">
131-
<dc:Bounds x="1492" y="102" width="36" height="36" />
132-
</bpmndi:BPMNShape>
133-
<bpmndi:BPMNShape id="Activity_0911i44_di" bpmnElement="SaveResults">
134-
<dc:Bounds x="1320" y="80" width="100" height="80" />
135-
<bpmndi:BPMNLabel />
136-
</bpmndi:BPMNShape>
137132
<bpmndi:BPMNShape id="SubProcess_0szmntn_di" bpmnElement="SubProcess" isExpanded="true">
138133
<dc:Bounds x="440" y="60" width="810" height="300" />
139134
</bpmndi:BPMNShape>
@@ -237,12 +232,19 @@
237232
<di:waypoint x="1135" y="120" />
238233
<di:waypoint x="1192" y="120" />
239234
</bpmndi:BPMNEdge>
235+
<bpmndi:BPMNShape id="EndEvent_1rdxonv_di" bpmnElement="EndEvent">
236+
<dc:Bounds x="1492" y="102" width="36" height="36" />
237+
</bpmndi:BPMNShape>
240238
<bpmndi:BPMNShape id="StartEvent_1dlqln5_di" bpmnElement="StartPingMessageStartEvent">
241239
<dc:Bounds x="152" y="102" width="36" height="36" />
242240
<bpmndi:BPMNLabel>
243241
<dc:Bounds x="151" y="145" width="44" height="14" />
244242
</bpmndi:BPMNLabel>
245243
</bpmndi:BPMNShape>
244+
<bpmndi:BPMNShape id="Activity_0911i44_di" bpmnElement="SaveResults">
245+
<dc:Bounds x="1320" y="80" width="100" height="80" />
246+
<bpmndi:BPMNLabel />
247+
</bpmndi:BPMNShape>
246248
<bpmndi:BPMNEdge id="SequenceFlow_0k1j79c_di" bpmnElement="SequenceFlow_0k1j79c">
247249
<di:waypoint x="188" y="120" />
248250
<di:waypoint x="260" y="120" />

0 commit comments

Comments
 (0)