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 2016/04/14 14:35:25 UTC

[jira] [Commented] (QPID-7194) Give client an ordered preferences to drive AMQP protocol selection

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

Keith Wall commented on QPID-7194:
----------------------------------

The client is to have a configuration parameter that gives it an ordered list of protocols that the user wishes it to try.  It must drive the connection negotiation according to this list.  It will default to {{0-10,0-91, 0-9,0-8}} unless otherwise overridden so the default behaviour will remain the same.

The client must try each desired protocol in order.  If the Broker responds positively, then the connection will proceed as normally.  If the peer responds with another protocol header, the protocol specific part of the client must hand the header bytes back to a central coordinator unchanged.  The protocol specific part must no longer try and understand the header.

If the coordinator is given a non AMQP header response, it must abort immediately with a helpful error distinguishing the common cases of connecting plain to a TLS secured port, or pointing the client at a peer serving HTTP.  Otherwise the client must continue to traverse the list, trying each protocol in turn.  If no successful connection is established using any protocol, a helpful error must be reported.  If the header response included AMQP 1.0, the error message must make it clear that this client does not support this protocol.


> Give client an ordered preferences to drive AMQP protocol selection
> -------------------------------------------------------------------
>
>                 Key: QPID-7194
>                 URL: https://issues.apache.org/jira/browse/QPID-7194
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>            Reporter: Keith Wall
>            Priority: Minor
>             Fix For: qpid-java-6.1
>
>
> Give the client an optional configuration parameter (system property and/or connection url property), that allows it to drive AMQP selection by an ordered preference list.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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