[ https://issues.apache.org/jira/browse/ARTEMIS-2494?focusedWorklogId=316687&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-316687 ]
ASF GitHub Bot logged work on ARTEMIS-2494: ------------------------------------------- Author: ASF GitHub Bot Created on: 23/Sep/19 14:01 Start Date: 23/Sep/19 14:01 Worklog Time Spent: 10m Work Description: k-wall commented on pull request #2847: ARTEMIS-2494: [AMQP] Allow Modified disposition to be used signal address full to a sending peer URL: https://github.com/apache/activemq-artemis/pull/2847#discussion_r327131148 ########## File path: artemis-server/src/main/java/org/apache/activemq/artemis/core/deployers/impl/FileConfigurationParser.java ########## @@ -264,6 +264,8 @@ private static final String AMQP_USE_CORE_SUBSCRIPTION_NAMING = "amqp-use-core-subscription-naming"; + private static final String AMQP_USE_MODIFIED_FOR_TRANSIENT_DELIVERY_ERRORS = "amqp-use-modified-for-transient-delivery-errors"; Review comment: @clebertsuconic you mean like amqpLowCredits? ` <acceptor name="amqp">tcp://0.0.0.0:5672?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=AMQP;useEpoll=true;amqpCredits=1000;amqpLowCredits=300</acceptor>` if so would.. be acceptable? `amqpUseModifiedForTransientDeliveryErrors=<boolean>` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 316687) Time Spent: 0.5h (was: 20m) > Artemis responds with disposition Rejected if queue is full > ----------------------------------------------------------- > > Key: ARTEMIS-2494 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2494 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP > Affects Versions: 2.10.0 > Reporter: Ulf Lilleengen > Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > When a queue is full, Artemis will respond with disposition=Rejected. In > certain situations, it is desirable to receive a Modified in this case, so > that a client may re-queue the message for re-delivery (this is what Artemis > does if consumers respond with released or modified for instance). > > The current behavior is determined by > ProtonServerReceiverContext#actualDelivery . It would be great if this method > could respond with Modified instead in the event of the exception being an > ActiveMQAddressFullException. > > This behavior should probably be exposed as a configuration option to avoid > breaking existing behavior. -- This message was sent by Atlassian Jira (v8.3.4#803005)