[overlord-issues] [JBoss JIRA] (SOAG-42) Add an example that shows how to use compound events with drools

Gary Brown (JIRA) jira-events at lists.jboss.org
Wed Feb 29 05:32:41 EST 2012


     [ https://issues.jboss.org/browse/SOAG-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Brown closed SOAG-42.
--------------------------

    Resolution: Out of Date


Closing as related to old Overlord work which has migrated to other projects. For the immediate future Overlord and its jira project will be used by some new sub-projects, and therefore clearing out old issues.
                
> Add an example that shows how to use compound events with drools
> ----------------------------------------------------------------
>
>                 Key: SOAG-42
>                 URL: https://issues.jboss.org/browse/SOAG-42
>             Project: Overlord
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: SAM
>            Reporter: Heiko Braun
>            Assignee: Heiko Braun
>
> This declare statement doesn't work for me:
> // declaring a dynamic bean
> declare PurchaseOrder
>     @role( event )
>     order : BuyOrder
>     ack : OrderAck
> end
> // creating event
> rule "PurchaseOrder"
>     dialect "mvel"
> when
>     $b : BuyOrder( $id : id )
>     $a : OrderAck( id == $id, this after[0,10] $b )
> then
>     PurchaseOrder p = new PurchaseOrder();
>     p.order = $b;
>     p.ack = $a;
>     insert( p );
> end

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the overlord-issues mailing list