Skip to content

Update release train dependencies to the current snapshots. - #11351

Open
cppwfs wants to merge 1 commit into
spring-projects:mainfrom
cppwfs:GH-7-2-SNAPSHOT
Open

Update release train dependencies to the current snapshots.#11351
cppwfs wants to merge 1 commit into
spring-projects:mainfrom
cppwfs:GH-7-2-SNAPSHOT

Conversation

@cppwfs

@cppwfs cppwfs commented Aug 20, 2026

Copy link
Copy Markdown
Contributor
  • Handle a null result from MessageConverter.fromMessage() before passing it to withPayload(), which requires a non-null payload.
  • Return null from JmsDestinationPollingSource.doReceive() so a message converted to a null payload is discarded instead of failing the poll, since the message is already consumed.
  • Mark AbstractJmsChannel.fromJmsMessage() as @nullable and discard such a message in SubscribableJmsChannel.
  • Mark JmsOutboundGateway.buildReply() as @nullable and throw a MessageTimeoutException when a reply is required.
  • Throw a MessagingException from ChannelPublishingJmsMessageListener to preserve the existing error channel contract for a failed inbound conversion.
  • Add tests for the null payload conversion in the polling source and the pollable channel.

- Handle a null result from MessageConverter.fromMessage() before
passing it to withPayload(), which requires a non-null payload.
- Return null from JmsDestinationPollingSource.doReceive() so a
message converted to a null payload is discarded instead of failing
the poll, since the message is already consumed.
- Mark AbstractJmsChannel.fromJmsMessage() as @nullable and discard
such a message in SubscribableJmsChannel.
- Mark JmsOutboundGateway.buildReply() as @nullable and throw a
MessageTimeoutException when a reply is required.
- Throw a MessagingException from
ChannelPublishingJmsMessageListener to preserve the existing
error channel contract for a failed inbound conversion.
- Add tests for the null payload conversion in the polling source and
the pollable channel.
@cppwfs cppwfs added this to the 7.2.0-M2 milestone Aug 20, 2026
@cppwfs
cppwfs requested a review from artembilan August 20, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant