Hi,
Last week, I asked a question about implementing durable consumers in Python, 
via Proton.  That's working perfectly now but I also need to support consumers 
written in Go, for which we're trying to use Electron.  This time, it's not a 
missing container ID that's causing me a headache but a missing subscription 
name.
I thought that the subscription name should be passed into the Receiver via a 
LinkName, but the following code doesn't set the subscription name (the 
Receiver gets messages fine but any messages sent when off-line are lost).

 if r, err := c.Receiver(electron.Source("topic://"+TopicName), 
electron.LinkName(SubscriptionName)); err == nil {

Should I be setting the subscription name somewhere else?
For info, I'm setting the container ID at instantiation time, via the 
NewContainer function. I'm running a fresh build of Electron, inside Docker, 
and using Go 1.7.
A working example for durable Go subscribers would be marvellous.
Thanks,
J. 
Jeremy Gooch http://goochgooch.co.uk

Reply via email to