[ 
https://issues.apache.org/jira/browse/QPID-7855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorenz Quack resolved QPID-7855.
--------------------------------
    Resolution: Fixed

paired with Keith

> [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

Reply via email to