spring-projects / spring-projects/spring-integration

Provide access to stored messages from the ChannelMessageStore API

Open
#3,429 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: jdbc in: redis type: enhancement
Dominant language
Java
Stars
1.6k
Forks
1.2k
Avg merge
17h 48m
Merged PRs (30d)
62

Description

It should be possible to use the public API of ChannelMessageStore to get access to stored messages without consuming those messages.

The current implementation always yields an empty message group:

/**
 * Not fully used. Only wraps the provided group id.
 */
@Override
public MessageGroup getMessageGroup(Object groupId) {
    return getMessageGroupFactory().create(groupId);
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at ChannelMessageStore.getMessageGroup(Object) and trace how stored messages are retained and exposed through the public API. Confirm that the completed behavior returns stored messages without consuming them, and add coverage for that access pattern in the relevant ChannelMessageStore tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.