Vince Rodriguez
Vince Rodriguez

Reputation: 13

Filter Expression - Service Bus Explorer

I am trying to filter out messages in the queue to be able to find certain ones. I am not able to filter out the messages on nested array values. I am not sure what I am doing wrong. I am using https://github.com/paolosalvatori/ServiceBusExplorer.

For example:

Here is a snippet of the JSON messages:

{
    **"type": "finance-topic"**,
    "source": "stripe",
    "sourceObject": "invoice",
    "action": "update",
    "data": {
      "original": {
        **"id": "evt_1KCpUaKg1gx3TWpaSNrEy4dz",**
        "object": "event",
        "api_version": "2020-03-02",
        "created": 1640973976,
        "data": {
          "object": {
            "id": "in_1Jm09kKg1gx3TWpaArKJYrMM",
            "object": "invoice",
            "account_country": "US",

enter image description here

Upvotes: 1

Views: 6155

Answers (1)

Sean Feldman
Sean Feldman

Reputation: 25994

Filtering is operating on the custom headers (user/application properties). You must have sourceObject propagated into headers, which is why filter expression works.

Upvotes: 3

Related Questions