[
https://issues.apache.org/jira/browse/AMQ-8324?focusedWorklogId=947921&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-947921
]
ASF GitHub Bot logged work on AMQ-8324:
---------------------------------------
Author: ASF GitHub Bot
Created on: 12/Dec/24 00:42
Start Date: 12/Dec/24 00:42
Worklog Time Spent: 10m
Work Description: cshannon commented on PR #1364:
URL: https://github.com/apache/activemq/pull/1364#issuecomment-2537496438
One idea I had as another option for 7.3.8 is to only process one message a
time. Well technically, this was @tabish121 idea.
The spec says that the callback must be processed in a new thread for the
async send but it doesn't say that multiple concurrent sends must be allowed.
So the sending thread could block and wait for the send to finish and execute
the callback before continuing. This of course is similar behavior to the
normal sync send that just sends a message at a time and blocks. This is the
simplest way to meet the spec (turning it into sync essentially) but the
downside is not allowing the throughput of multiple sends at once.
We could do something like make the mode configurable with legacy vs
compliant mode. If it's legacy it could fall back to the existing async
behavior that doesn't meet the spec, and if it's compliant it goes into the
mode where it just sends one a time. A future update could be done to make the
"compliant" mode better and allow it to handle multiple sends at one by
tracking the order.
Again, _potential_ option, I'm not sure this is a good idea either but
another idea I had.
Issue Time Tracking
-------------------
Worklog Id: (was: 947921)
Time Spent: 3.5h (was: 3h 20m)
> Implement JMS 2.0 MessageProducer CompletionListener methods
> ------------------------------------------------------------
>
> Key: AMQ-8324
> URL: https://issues.apache.org/jira/browse/AMQ-8324
> Project: ActiveMQ Classic
> Issue Type: New Feature
> Reporter: Matt Pavlovich
> Assignee: Matt Pavlovich
> Priority: Major
> Labels: #jms2
> Fix For: 6.2.0
>
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> CompletionListener, etc
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact