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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -