Bug 5118 - Unsent messages reported as failed after disconnect 87/35687/1
authorMichal Polkorab <michal.polkorab@pantheon.sk>
Wed, 27 Jan 2016 01:08:19 +0000 (02:08 +0100)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Thu, 3 Mar 2016 13:37:17 +0000 (13:37 +0000)
commit42d77fc7c0b4fc944b270a29f15ae600fc494cb2
treed99057b6aac3b0c6aa13dbaafd748ea217519beb
parenteec0e13acce7785038a9f9404aca0dc44fdba334
Bug 5118 - Unsent messages reported as failed after disconnect

 - if there were messages delivered to OutboundQueue and disconnect occured,
   unsent messages were not marked as failed, resulting in incorrect / no report
 - channelInactive in AbstractOutboundQueueManager was never triggered as the event
   was consumed in DelegatingInboundHandler

Change-Id: Ifd64c8f9346534a934d49a88ddd5c8f71cbb01e7
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
(cherry picked from commit 25677520a3fca1a925a0970efa20d586e1445e6f)
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/PipelineHandlers.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/AbstractOutboundQueueManager.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/AbstractStackedOutboundQueue.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/ConnectionAdapterImpl.java