-
Notifications
You must be signed in to change notification settings - Fork 38.5k
MessagingMessageListenerAdapter provides a BytesMessage that has already been read [SPR-13769] #18343
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
Comments
Stéphane Nicoll commented The problem is that we read the Juergen Hoeller I wondered if we should/could call |
Juergen Hoeller commented Good point, we should make sure that the Juergen |
Stéphane Nicoll commented I don't think so, the javadoc of
I wonder if we should call it before, after, both or not at all. Certainly not something to do in a bugfix release though. Maybe some specific code in |
Stéphane Nicoll commented This was fixed in 8346eeda and about to be backported to 4.1 as well. |
Tomoyuki Ikeya commented Thanks for your quick fix. It looks working as expected with |
Stéphane Nicoll commented Tomoyuki Ikeya your report is very valuable and I am happy we fixed this bug but I'd like to understand why you need to inject the |
Tomoyuki Ikeya opened SPR-13769 and commented
@JmsListener
does not work correctly when usingByteMessage
.I tried it with ActiveMQ Artimes and got a following result.
ByteMessage
, the method annotated was called.ByteMessage.readBytes()
.TextMessage
, of course.I will request a reproducing code in github.
Affects: 4.1.8, 4.2.3
Reference URL: https://github.com/spring-projects/spring-framework-issues/tree/master/SPR-13769
Issue Links:
Referenced from: commits 8346eed, e4faaa3
Backported to: 4.1.9
0 votes, 5 watchers
The text was updated successfully, but these errors were encountered: