2

In my previous question, the codebase I am working on uses Solace's JCSMP API to trigger a replay, and uses the Spring JMS Listener annotated method to consume the replayed events.

I would like to ask, how can I check either via JMS or the Solace JCSMP Api in my spring boot application whether my client-initiated replay has completed?

I have read up from these following links that suggest that on replay completion it switches to live data stream but does not say anything about any flags or method to detect this switch.

  1. https://docs.solace.com/Features/Replay/Message-Replay-Overview.htm#:~:text=During%20replay%2C%20new%20live%20messages,Broker%20Manager%2C%20or%20SEMP%20commands
  2. https://docs.solace.com/Features/Replay/Msg-Replay-Playback.htm#:~:text=What%20happens%20to%20live%20messages%20received%20with%20a%20replaying%20endpoint%20destination%3F
chunkynuggy
  • 147
  • 8
  • 1
    Not a solace expert, but doesnt the Solace's ConsumerFlowProperties provide `.isActiveFlowIndication()`? if it is set to false during replay, does the live data stream reset it back to true? Then you could probably just observe this state? – experiment unit 1998X Aug 31 '23 at 02:44

0 Answers0