As far as I can tell go-stomp doesn't support receipts for subscribe operations. I haven't seen a SubscribeOpt for this. When I manually add the header using stomp.SubscribeOpt.Header, I do see a RECEIPT from from the server, but this looks to close the Subscription's channel in go-stomp.
I'm working with a system where you subscribe to a topic and then trigger an operation that posts messages to the topic. Unless I add a sleep in, I can lose the initial messages that are posted.
As far as I can tell go-stomp doesn't support receipts for subscribe operations. I haven't seen a SubscribeOpt for this. When I manually add the header using
stomp.SubscribeOpt.Header, I do see a RECEIPT from from the server, but this looks to close the Subscription's channel in go-stomp.I'm working with a system where you subscribe to a topic and then trigger an operation that posts messages to the topic. Unless I add a sleep in, I can lose the initial messages that are posted.