azureservicebus - Azure ServiceBus SqlFilter Expression Syntax error -


when adding rule subscriptionclient, syntax error if don't remove of whitespace. none of numerous examples i've read have this. ideas why?

// works (whitespace stripped expression) var rd= new ruledescription("zonesrule", new sqlfilter("zone='all'")); subscriptionclient.addrule(rd);  // not work (normal whitespace in expression) var rd= new ruledescription("zonesrule", new sqlfilter("zone = 'all'")); subscriptionclient.addrule(rd); 

microsoft.servicebus.messaging.filterexception: 'there error parsing sql expression. [token line=1, column=4, token in error=  , additional details= unrecognized character. ' '] trackingid:4087836f-321c-45d7-b217-cb7fae75ee67_g11_b27...'

as forester123 mentioned syntax has no problem @ all. test on side, works correctly.we sqlfilter syntax azure official document.

enter image description here

if possible, please have try use latest 4.1.3 version of windowsazure.servicebus.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -