[
https://issues.jboss.org/browse/SOAG-42?page=com.atlassian.jira.plugin.sy...
]
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