activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "clebert suconic (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-869) Extend DeliveryMode to add a "LAZY_PERSISTENCE" option
Date Mon, 05 Dec 2016 16:25:58 GMT

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

clebert suconic commented on ARTEMIS-869:
-----------------------------------------

Makes it more implicit for the user... 


Right now you have to read the manual to discover the mode. If you make that implicit you
make the API more obvious and easier to learn...



i see this more as a facility for the user on accessing the feature.

> Extend DeliveryMode to add a "LAZY_PERSISTENCE" option
> ------------------------------------------------------
>
>                 Key: ARTEMIS-869
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-869
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>          Components: Broker
>            Reporter: Matt Pavlovich
>
> Currently the JMS Spec defines two delivery modes-- NON_PERSISTENT and PERSISTENT. Similar
to how the ACK modes have been extended, it would be handy to extend the DeliveryMode to support
a Kafka-like use case where the message should be persisted, but not require a sync() before
being ack'd. 
> Currently, the only way to define this in ActiveMQ 5.x is the periodic option on KahaDB,
which effects all messages. It would be handy to be able to also define it at the per-message
level
> Ideas on option:
> ActiveMQDeliveryMode.LAZY_PERSISTENCE



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message