You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2016/03/21 22:01:26 UTC

[jira] [Created] (ARTEMIS-449) artemis can't handle capabilities

Gordon Sim created ARTEMIS-449:
----------------------------------

             Summary: artemis can't handle capabilities
                 Key: ARTEMIS-449
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-449
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: AMQP
    Affects Versions: 1.3.0
            Reporter: Gordon Sim


AMQP allows a client to specify desired- and/or offered- capabilities. However if either of these fields is set, even to an empty list, then it seems to just close the connection. E.g.

{noformat}
[0x55e12319c030]:  -> SASL
[0x55e12319c030]:  <- SASL
[0x55e12319c030]:0 <- @sasl-mechanisms(64) [sasl-server-mechanisms=@PN_SYMBOL[:ANONYMOUS, :PLAIN]]
[0x55e12319c030]:0 -> @sasl-init(65) [mechanism=:ANONYMOUS, initial-response=b"anonymous@localhost.localdomain"]
[0x55e12319c030]:0 <- @sasl-outcome(68) [code=0]
[0x55e12319c030]:  -> AMQP
[0x55e12319c030]:0 -> @open(16) [container-id="ec4b88d5-d80c-490f-a3bc-59aaefea223f", hostname="localhost:5672", channel-max=32767, desired-capabilities=[]]
[0x55e12319c030]:  <- AMQP
[0x55e12319c030]:0 <- @open(16) [container-id="", hostname="", max-frame-size=4294967295, channel-max=65535, idle-time-out=30000]
[0x55e12319c030]:0 <- @close(24) []
[0x55e12319c030]:  <- EOS
[0x55e12319c030]:0 -> @close(24) []
[0x55e12319c030]:  -> EOS
{noformat}

The same occurs if offered_capabilities is specified.


The broker reports:
{noformat}
transport closed, discarding: 21 capacity = -1
{noformat}






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