Edson,<br>I've added your variations in JIRA-2801.<br>-W<br><br><div class="gmail_quote">On 18 November 2010 17:00, Edson Tirelli <span dir="ltr"><<a href="mailto:tirelli@post.com">tirelli@post.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Yes, I think it is a nice idea. I also want to add rule attributes<br>
(and package defaults) for entry points, in case all patterns in a<br>
rule/package should match a specific entry point.<br>
<br>
Edson<br>
<br>
2010/11/18 Wolfgang Laun <<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Using<br>
> X(...) from entry-point "y"<br>
> may be used for selecting a subset of events. Given that in STREAM mode<br>
> events coming from a single entry-point must be ordered by timestamp but<br>
> that it's not necessary to uphold this restriction across different entry<br>
> points, I have come up with a use case or two where I have an<br>
> n:1-relationship between event types and one entry-point, i.e., all events<br>
> of a type are inserted via one entry point, and this results in the<br>
> question:<br>
><br>
> Would it be possible to implement the definition of the default entry point<br>
> for an Event or Fact type via a metadata attribute, e.g.:<br>
> declare X<br>
> @role( event )<br>
> @entry-point( y )<br>
> end<br>
> so that this<br>
> a) declares the entry-point in the KnowledgeBase (the same way from<br>
> entry-point "x" does)<br>
> b) removes the need to use from entry-point with all patterns referring<br>
> to X<br>
> c) would still let me override the entry point with a "from entry-point"<br>
> clause.<br>
><br>
> If not discouraged, I'll open a JIRA for an enhancement.<br>
><br>
> Wolfgang<br>
><br>
> BTW: Java Zone Trailer, <a href="http://www.youtube.com/watch?v=8Px-GHPxB4I" target="_blank">http://www.youtube.com/watch?v=8Px-GHPxB4I</a> (NSFW ;-)<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> rules-dev mailing list<br>
> <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Edson Tirelli<br>
JBoss Drools Core Development<br>
JBoss by Red Hat @ <a href="http://www.jboss.com" target="_blank">www.jboss.com</a><br>
<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</blockquote></div><br>