Gordon Sim wrote > On 17/10/18 16:57, rk wrote: >> I'm attempting to get a Go electron receiver working using a filter that >> should give me behaviour akin to the legacy header exchange bindings. My >> understanding is this can be done using this filter >> apache.org:legacy-amqp-headers-binding:map. However the Go receiver I've >> built seems to always receiver all messages not just the messages with >> the >> appropriate headers. > > I don't know the electron API I'm afraid, but the filter is a map whose > keys don't actually matter, but whose values must be described types. > I.e. the apache.org:legacy-amqp-headers-binding:map' is not a key but a > descriptor of the value (which is itself a map). (Yes it is > un-necessarily complicated!). The map representing the headers binding > is keyed by string rather than by symbol. > > > > Thanks for the reply, I seem to of got it working by changing the Go code > to https://play.golang.org/p/3805Mlqu5f4. Though I'm not sure what the > string in the filter map (currently "selector") represents, I seem to be > able to put anything in there. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail:
> [email protected] > For additional commands, e-mail: > [email protected] -- Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
