[ 
https://issues.apache.org/jira/browse/ARTEMIS-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995410#comment-15995410
 ] 

ASF GitHub Bot commented on ARTEMIS-267:
----------------------------------------

GitHub user tabish121 opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1248

    ARTEMIS-267 Add test for handling of AMQP header and durability

    Adds a test that validates that messages that are either lacking a
    header or are set to be non-durable are not persisted and are not
    recovered on broker restart.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tabish121/activemq-artemis ARTEMIS-267

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1248.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1248
    
----
commit 30db592fcca9b1ea51765e23b099af8e87d7d8ca
Author: Timothy Bish <[email protected]>
Date:   2017-05-03T18:42:11Z

    ARTEMIS-267 Add test for handling of AMQP header and durability
    
    Adds a test that validates that messages that are either lacking a
    header or are set to be non-durable are not persisted and are not
    recovered on broker restart.

----


> AMQP messages without a Header section get persisted despite being non-durable
> ------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-267
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-267
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 1.1.0
>            Reporter: Robbie Gemmell
>
> When an AMQP message has no header section, or has a header but contains no 
> explicit value for the durable field, the spec defaults the value to being 
> false / non-durable. If a message is received by the broker without a Header 
> section, it currently gets persisted despite this.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to