Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forumguidelines
Yogesh Vedpathak
1.2k
871
43.3k
How to filter XML in service bus topics
Feb 17 2021 7:01 PM
Currently Its sending all orders data into queue I want to create rules in service bus topics subscription
when MoveToLocation Id = 5 and 10 then only send data to queue
xml
below are sample xml
<?xml version="1.0" encoding="utf-8"?>
<Orders xmlns="#">
<Order>
<OrderHeader>
<OrderId>123</OrderId>
<OrderType>EXTERNAL</OrderType>
<Note>
<DataTypes>Order</DataTypes>
<NoteUsed>External</NoteUsed>
<Value>ABC</Value>
</Note>
<OrderDateTime>2021-000:00:00Z</OrderDateTime>
<Status>Avaiable</Status>
<Action>Taken</Action>
<Currency>Rs</Currency>
<TotalAmount>2**</TotalAmount>
<SourceId>abc</SourceId>
<MoveToLocation>
<Id>3</Id>
<Type>house</Type>
</MoveToLocation>
</OrderHeader>
</Order>
</Orders>
Note (There is default rule exist for now in similar way i want to configure )
Reply
Answers (
0
)
Setting content type before uploading to blob storage