Closed
Description
Tomoyuki Ikeya opened SPR-13769 and commented
@JmsListener
does not work correctly when using ByteMessage
.
I tried it with ActiveMQ Artimes and got a following result.
- When receiving
ByteMessage
, the method annotated was called. - But I got empty bytes through
ByteMessage.readBytes()
. - I got correct result when using
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:
- Lazy GenericMessage payload extraction for JMS endpoints [SPR-13777] #18351 Lazy GenericMessage payload extraction for JMS endpoints
Referenced from: commits 8346eed, e4faaa3
Backported to: 4.1.9
0 votes, 5 watchers