gemmellr commented on PR #74: URL: https://github.com/apache/qpid-jms/pull/74#issuecomment-5568598505
I dont really agree with the premise here, so this will not be made to happen by default. I am willing to have this behaviour available upon request by configuration, but not by default. The client was asked to send a message, and is told the message was not accepted, i.e it was not sent. The client has no way to know _why_ the message was not-sent/released, and its definitely not its place to guess at the meaning when the result is unwittingly enabling messages to silently disappear. Thats a send failure in an API that has no way to convey the explicit state. Regardless, even if I did agree with the premise I wouldnt change the client behaviour in this way after over a decade doing the reverse when knowing it opens potential for messages to then silently disappear that did not used to, so it would still be going behind a toggle. If the broker wants to disappear a message sent to a topic without subs it is entirely free to do so. Other brokers I'm aware of the behaviour for would either accept, or configurably accept-or-reject/modified in this situation. This change would need a Jira. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
