qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7743) [Java Broker] Propagate current IO thread when switching protocol engine
Date Thu, 13 Apr 2017 15:07:41 GMT

    [ https://issues.apache.org/jira/browse/QPID-7743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967698#comment-15967698
] 

ASF subversion and git services commented on QPID-7743:
-------------------------------------------------------

Commit 1791267 from [~lorenz.quack] in branch 'java/trunk'
[ https://svn.apache.org/r1791267 ]

QPID-7743: [Java Broker] Propagate current IO thread when switching protocol engine

> [Java Broker] Propagate current IO thread when switching protocol engine
> ------------------------------------------------------------------------
>
>                 Key: QPID-7743
>                 URL: https://issues.apache.org/jira/browse/QPID-7743
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Lorenz Quack
>             Fix For: qpid-java-broker-7.0.0
>
>
> The {{ProtocolEngine}} needs to know the current IO Thread and this is communicated via
{{ProtocolEngine#setIOThread}}.
> Before protocol negotiation the {{MultiVersionProtocolEngine}} uses a {{SelfDelegateProtocolEngine}}.
When the protocol negotiation completes the {{MultiVersionProtocolEngine}} switches to the
appropriate implementation. However it does currently not communicate the current IO Thread
to this new engine. Only after the next call to {{ProtocolEngine#setIOThread}} will the correct
IO Thread be set on the new engine.
> When switching engine the correct IO Thread should be communicated immediately. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message