Skip to content

MessagingMessageListenerAdapter provides a BytesMessage that has already been read [SPR-13769] #18343

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

Referenced from: commits 8346eed, e4faaa3

Backported to: 4.1.9

0 votes, 5 watchers

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions