Search for Dead Letters
Enter search criteria to make it easier to find your dead letter messages. The search leverages a query end point in the service bus service to perform server-side queries of dead letter messages.
You can search by the following parameters:
-
SessionId
-
ExceptionMessage Details
-
MessageBody Details
-
MessageType Fields
The search queries both Topics and Queues at the same time (see the first image below for an example).
For example, a part of the Exception Details were queried in the following image, and the search results are filtered to only those Topics and Queues matching those details:
As another example, a MessageType was queried in the following image, and the search results are filtered to only those messages matching that MessageType:
To facilitate searching across all four parameters listed above, the search string typed in the search bar is converted to the query below before it is sent to the server. Using the example above searching for “DesignCreated,” the query would appear like the following:
select * from c where c.messageMetadata.SessionId ='DesignCreated'
OR CONTAINS(LOWER(c.messageMetadata.Properties.ExceptionMessage),LOWER('DesignCreated'))
OR CONTAINS(LOWER(c.messageBody),LOWER('DesignCreated'))
OR CONTAINS(LOWER(c.messageMetadata.Properties.MessageType),LOWER('DesignCreated'))