-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception handling in 2.0.0 M1 #170
Comments
Sidenotes: The first problem is that exception from the JMS listener is being swallowed, not propagated in the
The second issue is that implementation in AbstractJMSListenerMethodProcessor does not conform to the assumption in the
There is an issue that also describes the context of this problem in a more generic way: #167. We might want to consider deprecating the Queue/Topic executor and concurrency listener feature () that is used in this case. An alternative would be to not provide a default executor when the executor is not specified explicitly by the Queue or Topic annotations. However, it would not cover the cases when executor and concurrency options are specified. |
+1 to not provide a default executor when an executor is not specified as a first step. Perhaps the executor member of the annotations can be deprecated at the same time. |
Issue description
I'd like to ask about
https://github.com/micronaut-projects/micronaut-jms/commit/56dc69757fa34fce958b02359b899e124f9738d5#diff-a1828ad23d4698ef382cc0a39a12e66bf58ee3ddc46021a66e7c6a97ff4b24cbR129-R130
.Particularly, we can see that now exceptions are swallowed, which means that the negative acknowledger from the underlying amazon-sqs-java-messaging-lib is not used. To me, on SQS, that's not the worst thing - the queue's visibility timeout, which I control, will do its job.
Is that the long-term plan? To swallow the exception and not propagate it further? I checked the documentation but did not find any relevant information.
The text was updated successfully, but these errors were encountered: