You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Pavel Moravec (JIRA)" <ji...@apache.org> on 2014/06/24 12:36:24 UTC

[jira] [Created] (QPID-5839) [C++ broker] Broker does not set lifetime-policy in AMQP1.0 attach performative

Pavel Moravec created QPID-5839:
-----------------------------------

             Summary: [C++ broker] Broker does not set lifetime-policy in AMQP1.0 attach performative
                 Key: QPID-5839
                 URL: https://issues.apache.org/jira/browse/QPID-5839
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.28
            Reporter: Pavel Moravec
            Assignee: Pavel Moravec
            Priority: Trivial
             Fix For: 0.29


When an AMQP 1.0 client wants to create a node with a lifetime-policy, it sends it in attach performative, within dynamic-node-properties. But the broker does not set the policy in its attach it sends back (while the node is created with proper performative).

This confuses the client and e.g. an assert might fail:

drain --connection-options "{protocol:'amqp1.0'}" "q; {create:always, assert:always, node:{ properties:{'lifetime-policy':'delete-on-close'}}}"
Error: Requested node properties not met: {lifetime-policy:delete-on-close}




--
This message was sent by Atlassian JIRA
(v6.2#6252)

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