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 2017/07/10 17:36:00 UTC

[jira] [Created] (QPID-7855) [Java Broker] [AMQP 1.0] expiryPolicy=SESSION_END seemingly not respected if connection closed abnormally

Keith Wall created QPID-7855:
--------------------------------

             Summary: [Java Broker] [AMQP 1.0] expiryPolicy=SESSION_END seemingly not respected if connection closed abnormally
                 Key: QPID-7855
                 URL: https://issues.apache.org/jira/browse/QPID-7855
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: qpid-java-broker-7.0.0
            Reporter: Keith Wall
             Fix For: qpid-java-broker-7.0.0


Running the following JMS program causes the Broker to leak a Link.

{code}
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageProducer messageProducer = session.createProducer(queue);
System.exit(1);
{code}

It is as if the Broker is failing to respect the {{expiryPolicy}}.

[1079061421:1] -> Attach{name='qpid-jms:sender:ID:3f4b0d2e-369b-4d04-b4ec-6ea54fbae2c5:1:1:1:topic', handle=0, role=SENDER, sndSettleMode=UNSETTLED, rcvSettleMode=FIRST, source=Source{address='ID:3f4b0d2e-369b-4d04-b4ec-6ea54fbae2c5:1:1:1', durable=NONE, expiryPolicy=SESSION_END, timeout=0, dynamic=false, dynamicNodeProperties=null, distributionMode=null, filter=null, defaultOutcome=null, outcomes=[amqp:accepted:list, amqp:rejected:list, amqp:released:list, amqp:modified:list], capabilities=null}, target=Target{address='topic', durable=NONE, expiryPolicy=SESSION_END, timeout=0, dynamic=false, dynamicNodeProperties=null, capabilities=[topic]}, unsettled=null, incompleteUnsettled=false, initialDeliveryCount=0, maxMessageSize=null, offeredCapabilities=null, desiredCapabilities=[DELAYED_DELIVERY], properties=null}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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