Hi Sebastian - Sending messages in a batched transaction is the best performance and reliability.
When sending a transaction, messages are sent without waiting for the ack of the previous message. The point where transacted messages become slower is when the commit() is coded on the client-side app to happen once per message. If you commit every 100 (or best for your messages size) you will see very fast throughput. Thanks, Matt Pavlovich > On Jun 5, 2024, at 2:33 AM, [email protected] wrote: > > I have a question concerning Asynchronous Send Acknowledgements. > > As I have understood this feature, it basically does not wait for the message > to be persisted but dispatches this to an asynchronous handler. > > As I have a use-case where the ordering of the sent messages is important, I > would like to know if this mode does guarantee the order of messages. > > > > In the same context another question is, what is the better choice: > Asynchronous Send Acknowledgements or Transactional Sends when sending > several messages at once? > > > > Kind regards > > > > Sebastian > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information, visit: https://activemq.apache.org/contact
