activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (ARTEMIS-1587) Add setting to control the queue durable property for auto-created addresses
Date Mon, 15 Jan 2018 14:13:00 GMT


ASF GitHub Bot commented on ARTEMIS-1587:

Github user jostbg commented on the issue:
    @mtaylor What is the difference between saying, "Artemis, create a non-durable queue named
foo during server start" vs "Artemis create a non-durable queue named foo the moment it is
first used." 
    Why does it not seem to be an issue if I pre-create the non-durable anycast queue "foo"
to which a JMS client can send a message but when that non-durable queue is auto-created the
moment a message is send to it you suddenly talk about JMS spec violations. In both cases
the result is the same, the JMS client sends a message to a non-durable queue. The only difference
is the point in time when the queue is actually created. 
    Following your argumentation, Artemis should generally prevent JMS clients trying to send
a message to a non-persistent queue - no matter if it is pre-created or created on first use.

> Add setting to control the queue durable property for auto-created addresses
> ----------------------------------------------------------------------------
>                 Key: ARTEMIS-1587
>                 URL:
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 2.4.0
>            Reporter: Johan Stenberg
>            Assignee: Martyn Taylor
>            Priority: Major
> When pre-defining queues in the broker.xml the durable property can be specified. Auto-created
queues are currently always durable. It would be useful to extend the AddressSettings so that
default queue durability for auto-created queues can be specified.

This message was sent by Atlassian JIRA

View raw message