-
Notifications
You must be signed in to change notification settings - Fork 32
[BUG] Sending an END step when it should be middle #586
Comments
So the fix would be to change this to But is it really right? as far as I can see from the official doc, it stops routing no matter how the branch is deep, so the canvas shouldn't connect anything after stop isn't it? |
Verified Route- from:
uri: timer:null
steps:
- choice:
when:
- simple: true
steps:
- log:
message: stopping
- stop: {}
- log:
message: not stopping output
|
Even more problematic is like this - from:
uri: timer:null
steps:
- choice:
when:
- simple: headers.country == 'UK'
steps:
- log:
message: stopping
- stop: {}
- log:
message: not stopping where if |
Aside Trying to fix, but not yet sure how. In order to use And change this comparator, if Then 2 problems,
@Delawen do you see how this is supposed to be? |
Seems to need a background knowledge - releasing |
There is a log component (split into The
means, as the comment said, that EIPs shouldn't arrive at that function. But just in case they arrive, put them at the end of the list of potential responses. If that's the only valid response, well, ok, something weird happened, just return the EIP. |
I'll double check, but it looks like the opposite happens, |
Fixes: #586 This also applies a workaround for kaoto-archive/kaoto-ui#1587, change the `stop` EIP to be `MIDDLE` type while it's actually an `END`. We need to get this back to be `END` once kaoto-archive/kaoto-ui#1587 is implemented
Fix the backend side of kaoto-archive/kaoto-ui#1562
The text was updated successfully, but these errors were encountered: