[rules-users] Unable to fire Rules

2008-04-04 Thread hanumesh.m
Hi, I am inserting message(fileName, fromQ,toQ,transType) to WorkingMemory. fileName as ABC-834-test-100.edi I am inserting 3 instances of TrasactionVO's to workingmemory as follows: TransactionVO transVO = new TransactionVO(ABC-834, ABC.834.EDI, ABC.834.XML, 834); TransactionVO

[rules-users] Drools Pattern Matching

2008-04-02 Thread hanumesh.m
Hi, I am writing a rule which checks for the presence of substring in a string. Hard coding rule works fine but if I am using variables which may have dynamic values giving problems. How to write code equivalent of hardcoding version. HardCode verson : --- rule Process 834

[rules-users] Firing Rules from DB (Dynamic Rules)

2008-04-02 Thread hanumesh.m
Hi, As rules may keep on changing, I am using database to store the datails of a rule. Say in table Transaction (ruleName, fileMask, fromQ, ToQ,transType). An admin application may keep on adding/editing these rules as and when required. I have a mule application, where in a mule Component

[rules-users] dynamic rule creation - from database.

2008-03-26 Thread hanumesh.m
Hi I need an example of using dynamic rules. Its very urgent. My application will poll a directory for a file(trade partners will drop the file on server), which contains some mask(fileMask) in name which can decide on the target Queue where the data of file should be directed to. If the