12-20-05 12:58 PM
Hi,
The default interceptor used by Call Rules shape is writting info to HAT.
So I think you do have to manually execute policy in order to use the
custom interceptor.
"When the Business Rule Engine executes, it passes execution tracking
information to an interceptor. The engine is configured to use the BizTalk
interceptor which writes to Health and Activity Tracking (HAT). If you are
calling the engine outside of BizTalk orchestration, you can pass the
interceptor you want to use when you execute the policy. In addition to the
BizTalk interceptor, you can also use the DebugTrackingInterceptor to
output the tracking information to file. The following code example
demonstrates how to use DebugTrackingInterceptor.
DebugTrackingInterceptor tracker = new
DebugTrackingInterceptor("TrackingOutput.txt");
policy.Execute(shortTermFacts,tracker);"
Thanks.
Best regards,
WenJun Zhang
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no rights.
[ Post a follow-up to this message ]
|