GitHub user jisikoff opened a pull request:

    https://github.com/apache/camel/pull/2169

    CAMEL-12129: fix broken integration test from CAMEL-12111

    Suspend calls closeConnectionAndChannel() which calls 
this.consumers.clear(); thus leaving no consumers to reconnect on resume.  This 
used to work because the reconnect was creating consumers a second time with 
the startConsumers() call in StartConsumerCallable.call() but that was creating 
twice the required number of consumers in other normal use cases.  In this case 
because clear is called we need to create those consumers again on resume hence 
the code changes here.  All integration tests passing now.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cinch-financial/camel 
CAMEL-12129-fix-rabbitmq-integration-test

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/2169.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2169
    
----
commit 00cce919a148bdaaba5753f3646a590f8eefdb82
Author: Jeremy Isikoff <jisikoff@...>
Date:   2018-01-07T04:05:42Z

    CAMEL-12129: fix broken integration test from CAMEL-12111

----


---

Reply via email to