How to get ReplicationGroupMessageId for message replay with Spring cloud stream
Hi ,
I was trying to find replayMsgId in message header using spring cloud stream , i printed all header which i received but not able to find any values as "rmid1:0117b-75462900ca8-00000000-00135082"
Headers which i got as below:
- solace_senderTimestamp --1628606024803
- solace_expiration -- 0
- deliveryAttempt -- 1
- solace_destination -- test/msg/replay
- solace_timeToLive -- 0
- solace_receiveTimestamp --0
- skip-input-type-conversion -- false
- solace_discardIndication -- false
- solace_priority ---1
- solace_redelivered --false
- id --1cbf2434-fb03-d17f-9174-1e3a2f0d6edf // this id is not accepted for message replay.
- contentType --application/json
- solace_senderId --Try-Me-Pub/solclientjs/chrome-91.0.4472-Windows-0.0.0/2758948243/0003
- timestamp --1628606684861
Need your help here to know how to get ReplicationGroupMessageId in spring cloud Stream project.
Comments
-
Hello, this property is not currently exposed via Spring Cloud Stream Solace binder. I have created an internal request to have this added. I don't have a timeframe for it but we are aware that it's needed.
1 -
I have created a PR in the GitHub that addresses this. https://github.com/SolaceProducts/solace-spring-cloud/pull/91
I am a Product Manager at Solace, not a developer, so I am leaving it with the project maintainers to merge my PR. This should happen in the next day or 2.
NOTE: the PR is to a version 2.2.0 staging branch. This is where version 2.2.0 will be worked on but we are not at the point where 2.2.0 is ready to be released (this change is actually the only thing in this branch so far). If you are going to use my fix before release of 2.2.0 (not likely to be released before Oct 2020), you would have to build the staging branch to pick it up.
2 -
the PR has been merged
1 -
Thanks a lot for such quicker response,
Now you provided alternate to use https://github.com/SolaceProducts/solace-spring-cloud/tree/stage-2.2.0 , which is really appreciated!1 -
Hi is it possible to release 2.2.0 pom version ,waiting for this since long time.
latest i can see "https://mvnrepository.com/artifact/com.solace.spring.cloud/solace-spring-cloud-bom/2.1.0"0