Hi,

I'm trying to try out different ways of subscribing from header exchange.
Can i use SQL like syntax, as described in the standards draft?

I am trying to subscribe something like "h1=val1 AND h2 = val2 AND h3 IN
(val5, val6, val7, val8.....valn)", where h3 can match any of val5 to valn.
How do i achieve this ?

Right now iam creating multiple session.exchange_bind's using the python api
of this format -
1. h1 = val1 AND h2 = val2 and h3 = val5
2. h1= val1 AND h2 = val2 and h3 = val6
.....
n.h1= val1 AND h2 = val2 and h3 = valn

Surely this is not a very efficient way of doing things as the h1 and h2
field matches *might* have to inspected multiple times in this format rather
than once, unless of course the broker understands this to be the case and
recollates them into what is actually intended.

Would someone please tell me if there are more efficient ways to do create
complex subscriptions (like using SQL-92 syntax) on the cpp broker, rather
than break them down into multiple simplified any/all subscriptions ?

Thanks in advance
gs

Reply via email to