ecotoneframework / ecotone-dev

Ecotone Framework Development - This is Monorepo which contains all official public modules
https://docs.ecotone.tech
Other
37 stars 16 forks source link

Acknowledge interceptor registered multiple times if multiple polling consumers are running #229

Closed jlabedo closed 1 year ago

jlabedo commented 1 year ago

Ecotone version(s) affected: 1.108.1

Description
The acknowledge interceptor is registered multiple times if multiple polling consumers are running

How to reproduce
I did not manage to make a failing test, help would be welcome. If you run two polling consumers in the same messaging system, put a breakpoint on the AcknowledgeConfirmationInterceptor::ack method, the second polling consumer will be intercepted two times.

Possible Solution
Fix the polling consumer builder.

jlabedo commented 1 year ago

Failing test added in #230

dgafka commented 1 year ago

Hey, Solved with #233