You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2011/08/15 11:01:28 UTC

[jira] [Reopened] (QPID-3342) Rationalise transport layer by introducing common interfaces shared by all protocols

     [ https://issues.apache.org/jira/browse/QPID-3342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall reopened QPID-3342:
------------------------------

      Assignee: Keith Wall  (was: Robbie Gemmell)

This refactoring is causing an exception in the client when SSL is in-use, and can be highlighted by running SSLTest:

{code}
Testcase: testCreateSSLContextFromConnectionURLParams took 1.642 sec
        FAILED
SSL Connection should be successful
junit.framework.AssertionFailedError: SSL Connection should be successful
        at org.apache.qpid.client.ssl.SSLTest.testCreateSSLContextFromConnectionURLParams(SSLTest.java:81)
        at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:243)
        at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:125)

Testcase: testMultipleCertsInSingleStore took 0.056 sec
        Caused an ERROR
SecurityLayer.sender method should be invoked before SecurityLayer.receiver
org.apache.qpid.AMQConnectionFailureException: SecurityLayer.sender method should be invoked before SecurityLayer.receiver
        at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:473)
        at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:246)
        at org.apache.qpid.client.AMQTestConnection_0_10.<init>(AMQTestConnection_0_10.java:27)
        at org.apache.qpid.client.ssl.SSLTest.testMultipleCertsInSingleStore(SSLTest.java:101)
        at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:243)
        at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:125)
Caused by: java.lang.IllegalStateException: SecurityLayer.sender method should be invoked before SecurityLayer.receiver


{code}

> Rationalise transport layer by introducing common interfaces shared by all protocols
> ------------------------------------------------------------------------------------
>
>                 Key: QPID-3342
>                 URL: https://issues.apache.org/jira/browse/QPID-3342
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker, Java Client, Java Common
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>             Fix For: 0.13
>
>         Attachments: 0002-QPID-3342-rationalise-the-existing-0-10-transport-co.patch, 0003-QPID-3342-transition-TCP-based-Mina-transport-for-0-.patch
>
>
> Refactor the transport stack by introducing two new interfaces NetworkTransport and NetworkConnection.   Remove dependencies between IoSender and IoReceiver.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org