[ 
https://issues.apache.org/jira/browse/ARTEMIS-4510?focusedWorklogId=901098&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-901098
 ]

ASF GitHub Bot logged work on ARTEMIS-4510:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Jan/24 03:16
            Start Date: 23/Jan/24 03:16
    Worklog Time Spent: 10m 
      Work Description: jbertram commented on PR #4681:
URL: 
https://github.com/apache/activemq-artemis/pull/4681#issuecomment-1905221467

   This is an interesting improvement which I think has some merit. However, I 
have two concerns:
   
   - This changes the default behavior of every divert. This may break existing 
users who actually depend on the current behavior. Therefore, this 
functionality should be configurable.
   - This will have a negative impact on performance. _Every_ time a message is 
diverted `checkAutoCreate` will be invoked with a new `QueueConfiguration`. 
This will increase CPU utilization and GC pressure. Perhaps the divert could 
invoke `checkAutoCreate` once when it was deployed and then also during the 
execution of `route` if and only if a transformer was invoked.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 901098)
    Time Spent: 20m  (was: 10m)

> Add auto-create-destination logic to diverts
> --------------------------------------------
>
>                 Key: ARTEMIS-4510
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4510
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Anton Roskvist
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> This enables the use of dynamic routing decisions within the transformer by 
> setting the message address. It also covers for a rare problem where if any 
> of the forwarding addresses are removed during runtime, such as from 
> auto-delete, the message would get silently dropped.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to