|
Home > Archive > BizTalk Server Orchestration > December 2005 > Using IRulesetTrackingInterceptor within an orchestration
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Using IRulesetTrackingInterceptor within an orchestration
|
|
| Armando Fagundes 2005-12-19, 8:49 pm |
| Hi,
I'm using the logging application block and EIF as a logging solution. I've
developed a IRulesetTrackingInterceptor that sends information on the rules
being fired. I would like to know if there is a way of configuring this
IRulesetTrackingInterceptor to be used within the orchestrations when calling
a business policy using the "Call Rules" shape.
Thanks
Armando
| |
| Jon Flanders 2005-12-19, 8:49 pm |
| Hello Armando, not as far as I know - although if you turn on Policy tracking
via hat it might work.
You could just not use the CallRules shape.
Jon Flanders [MVP]
http://www.masteringbiztalk.com
> Hi,
>
> I'm using the logging application block and EIF as a logging solution.
> I've developed a IRulesetTrackingInterceptor that sends information on
> the rules being fired. I would like to know if there is a way of
> configuring this IRulesetTrackingInterceptor to be used within the
> orchestrations when calling a business policy using the "Call Rules"
> shape.
>
> Thanks
> Armando
| |
| WenJun Zhang[msft] 2005-12-20, 7:58 am |
| 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.
|
|
|
|
|