Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix for AMQP 0.9.1 reconnected state #230

Merged
merged 5 commits into from
Sep 7, 2018

Conversation

ffendt
Copy link
Contributor

@ffendt ffendt commented Sep 7, 2018

This PR fixes Issue #228 which describes the problem that AMQP 0.9.1 connections can't consume or publish if the connection had to reconnect to the broker.

The library used to establish the connections to AMQP 0.9.1 provides failover and notifies us after a reconnect with the new created channels. With this PR, the actors responsible for consuming and publishing will use the new channels.

While trying to find the issue itself, i realized that we should have some more logging which is why i also added some more log messages.

Signed-off-by: Florian Fendt <Florian.Fendt@bosch-si.com>
…happens when a Connection receives an external message

Signed-off-by: Florian Fendt <Florian.Fendt@bosch-si.com>
# Conflicts:
#	services/connectivity/messaging/src/main/java/org/eclipse/ditto/services/connectivity/messaging/MessageMappingProcessorActor.java
#	services/connectivity/messaging/src/main/java/org/eclipse/ditto/services/connectivity/messaging/ReconnectActor.java
…nnect to the broker

Signed-off-by: Florian Fendt <Florian.Fendt@bosch-si.com>
@dguggemos
Copy link
Contributor

LGTM 👍

@dguggemos dguggemos merged commit 592d2a2 into eclipse-ditto:master Sep 7, 2018
@dguggemos dguggemos deleted the bugfix/reconnect_amqp091 branch September 7, 2018 08:50
@thjaeckle thjaeckle added this to the 0.8.0-M2 milestone Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants