Getter method for RabbitStreamTemplate for the loaded Stream
Today the 'streamName' is in the constructor and sets as a final variable 'streamName'
have a getter method for the loaded stream.
workaround is to create a holder class or use contants
record RabbitStreamTemplateHolder(RabbitStreamTemplate template, String streamName) {
}
this causing issues when 'streamName' variable is needed in another stage rather than initalization.
Comment From: artembilan
I'm sorry, the question is to add a RabbitStreamTemplate.getStreamName()
?
If that is the case, feel free to contribute such a simple fix.
Thanks
Comment From: mangila
Yes, exactly.