Consider the following scenario:
- You are using an instance of Microsoft Exchange Server that has transport rules configured.
- One or more of the transport rules contains one or more of these conditions:
- When you sending email messages to a large recipient list, you notice a long delay in the delivery of the message to some users.
- You may see the following event recorded in the Application log on the Hub Transport servers:
Time: DATE TIME
Source: MSExchange Extensibility
Machine: COMPUTER NAME
Message: The execution time of agent 'Transport Rule Agent' exceeded 90000 milliseconds while handling
event 'OnRoutedMessage' for message with InternetMessageId: 'Not Available'. This is an unusual amount
of time for an agent to process a single event. However, Transport will continue processing this message.
This issue occurs because the messages remain for a long time in the Categorizer while they are processed through the transport rules on the server. This situation is caused by the rules that contain the “Matches Patterns” condition. This condition involves a complex and intensive process. You can verify this situation by examining the message tracking logs to verify that the process remains for a long time in the Categorizer Transport Rule agent, as shown in the following example log entry:
MessageLatency : 06:26:14.9940000Note Even messages that are not sent to a large recipient list may remain for a long time in the Categorizer and have a delayed delivery. Therefore, such messages can also cause an issue for users.
MessageLatencyType : EndToEnd
ComponentServerFqdn : COMPUTER NAME
ComponentCode : CATRT-Transport Rule Agent
ComponentName : Categorizer OnRoutedMessage-Transport Rule Agent
ComponentLatency : 00:48:59
ComponentSequenceNumber : 2
To resolve this problem, avoid using the “Matches Patterns” condition. Instead, use “Contains Word” because this condition captures the string of words that you want to find within your transport rule. This significantly reduces the computing power that's required to process messages and also reduces the latency of messages within the environment.
Article ID: 3145489 - Last Review: Apr 1, 2016 - Revision: 1
Exchange Server 2016 Enterprise Edition, Exchange Server 2016 Standard Edition, Exchange Server 2013 Enterprise, Exchange Server 2013 Standard Edition, Exchange Server 2010 Enterprise, Exchange Server 2010 Standard