Open Mossharbor opened 6 years ago
The xml should look like this:
<SubscriptionDescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect">
<DefaultRuleDescription>
<Filter i:type="CorrelationFilter">
<CorrelationId>1234</CorrelationId>
<Properties>
<KeyValueOfstringanyType>
<Key>prop1</Key>
<Value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">abc</Value>
</KeyValueOfstringanyType>
<KeyValueOfstringanyType>
<Key>prop2</Key>
<Value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">xyz</Value>
</KeyValueOfstringanyType>
</Properties>
</Filter>
<Action i:type="EmptyRuleAction" />
<Name>$Default</Name>
</DefaultRuleDescription>
</SubscriptionDescription>
This should work, but currently we do not serialize the xml correctly. Other fields in the Correlation filters do work.