[ https://issues.apache.org/jira/browse/QPID-7855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16096098#comment-16096098 ]
ASF subversion and git services commented on QPID-7855: ------------------------------------------------------- Commit 7aceb5f3fb0402fe613a6b5e775457f07f6bf082 in qpid-broker-j's branch refs/heads/master from [~lorenz.quack] [ https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=7aceb5f ] QPID-7855: [Java Broker] Consider Sessions closing when the underlying connection is closing > [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}}. > {noformat} > [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} > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org