Hi

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.

My setup is:

I have a Go electron sender sending multiple messages some that should match
and some that don't. The headers are being place in the Application
Properties.

Using drain like
./drain -b qpid:5672 -f 'testqueue; {create: receiver, node: {x-declare:
{arguments:
{'qpid.policy_type': ring, 'qpid.max_size': 500000000}}, x-bindings:
[{exchange: 'amq.match', queue: 'testqueue', key: 'data1', arguments:
{x-match: all, colour: red}}]}}'

I only receive the events I'm expecting

my Go receiver https://play.golang.org/p/jUzqFoBqRy5

receives them all.

I've noticed the bindings on the broker look different when running
qpid-config list binding

drain
testqueue   data1   0   u'colour': u'red', u'x-match': u'all'}  amq.match

Go receiver
receiver_receiver@1  all    0   {u'x-match': 'all'}    amq.match

Any help much appreciated
Rob






--
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]

Reply via email to