BizTalk 2006 :: Unexpected behavior in rules engine
- From: "BA" <biztalk.architect@xxxxxxxxx>
- Date: Tue, 13 Mar 2007 17:40:55 -0400
Hi All, I a re-posting this in hopes of some help....
I have a strange rules engine behavior I need help with, please bear with
me...
In my policy, I assert the following as the first rule (assert new
Validate()):
public class Validate
{
public Validate()
{
Debug.WriteLine("Validate ASSERTED");
}
Then I call a static method in one of the rules:
public static string ValidateMessage(params...)
When I call this method the FIRST TIME, everything is fine, the method is
executed 2 times for the 2 lines, and the DebugView outputs the following...
Validate ASSERTED
Validate :: ValidateMessage STARTED
Validate :: looping thru lines
Validate :: looping thru lines
Validate :: ValidateMessage STARTED
Validate :: looping thru lines
Validate :: looping thru lines
Then it gets strange.... when I execute it a second time, I get:
Validate :: ValidateMessage STARTED
Validate :: looping thru lines
Validate :: looping thru lines
Validate :: ValidateMessage STARTED
Validate :: looping thru lines
Validate :: looping thru lines
Validate ASSERTED
Validate :: ValidateMessage STARTED
Validate :: looping thru lines
Validate :: looping thru lines
Validate :: ValidateMessage STARTED
Validate :: looping thru lines
Validate :: looping thru lines
A third time I get:
Validate :: ValidateMessage STARTED
Validate :: looping thru lines
Validate :: looping thru lines
Validate :: ValidateMessage STARTED
Validate :: looping thru lines
Validate :: looping thru lines
Validate :: ValidateMessage STARTED
Validate :: looping thru lines
Validate :: looping thru lines
Validate :: ValidateMessage STARTED
Validate :: looping thru lines
Validate :: looping thru lines
Validate ASSERTED
Validate :: ValidateMessage STARTED
Validate :: looping thru lines
Validate :: looping thru lines
Validate :: ValidateMessage STARTED
Validate :: looping thru lines
Validate :: looping thru lines
And so on... It keeps piggy-backing these past method calls and I don't know
why!
If I restart the host, the first call goes back to normal and then this
problem begins again.
If anyone has seen this or knows what I am doing wrong, please help.
Thanks,
BA
.
- Follow-Ups:
- Re: BizTalk 2006 :: Unexpected behavior in rules engine
- From: Sandeep
- Re: BizTalk 2006 :: Unexpected behavior in rules engine
- Prev by Date: Re: How to split XML file based on data in BizTalk
- Next by Date: How to extract attathments from email through POP3 Adapter
- Previous by thread: Orchestrations not showing up in HAT
- Next by thread: Re: BizTalk 2006 :: Unexpected behavior in rules engine
- Index(es):
Relevant Pages
|