<div dir="auto">From what I recall it is not the same for interceptors and decorators too. More about the chain vision and what is the &quot;0&quot; from my understanding.</div><div class="gmail_extra"><br><div class="gmail_quote">Le 23 oct. 2017 03:55, &quot;John Ament&quot; &lt;<a href="mailto:john.ament@spartasystems.com">john.ament@spartasystems.com</a>&gt; a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_-3360302517537792103divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>I found this interesting to say the least.  <span style="font-size:12pt">In CDI, we use highest priority where the value of the @Priority annotation is compared the higher numeric value is considered higher priority.  We followed suite so far in MicroProfile
 specs.  </span><span style="font-size:12pt">I&#39;m not looking to throw dirt, but wanted to get a general opinion from others on this.  The JAX-RS treats the lower numeric value as more important (in mathematical terms, it&#39;s being treated as the denominator).</span></p>
<p><br>
</p>
<p></p>
<div>&gt; If two or more providers are candidates <span style="font-size:12pt">for a certain task, the one with the highest priority is chosen: the highest priority is defined to be the one </span><span style="font-size:12pt">with the lowest value in this
 case. That is, @Priority(1) is higher than @Priority(10). </span></div>
<br>
<p></p>
<p>So I&#39;m wondering, why did CDI use the approach that CDI is using?</p>
<p><br>
</p>
<p>John</p>
<p><br>
</p>
<div id="m_-3360302517537792103Signature">
<div id="m_-3360302517537792103divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif,Helvetica,EmojiFont,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,NotoColorEmoji,&quot;Segoe UI Symbol&quot;,&quot;Android Emoji&quot;,EmojiSymbols">
<p></p>
</div>
</div>
</div>
<hr>
NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this
 message, and destroy all physical and electronic copies. Thank you.
</div>

<br>______________________________<wbr>_________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/cdi-dev</a><br>
<br>
Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/<wbr>licenses/LICENSE-2.0.html</a>). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.<br></blockquote></div></div>