<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Kris,&nbsp;</div><div><br></div><div>Thanks for your answer...</div><div><br></div><div>I just think that some Default implementation would be something useful for people to understand more quickly...</div><div><br></div><div>best regards</div><div><br></div><div>Cristiano</div><br><div><div>On 02/02/2009, at 14:53, Kris Verlaenen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div bgcolor="#ffffff" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font face="Arial" size="2">You can decide yourself how to respond to the result.&nbsp; So yes, you can just implement your own handler.&nbsp; The blocking response handler is made for testing purposes mostly: when you ask it for the results, it will wait until those arrive or will throw an exception if it needed to wait too long.&nbsp; If that is the behaviour you want, you can simply copy it, but you don't have to use this kind of blocking response handler, it's more like an example (hence it's not in the jar as well).</font></div><div><font face="Arial" size="2"></font>&nbsp;</div><div><font face="Arial" size="2">Kris</font></div><div><font face="Arial" size="2"></font>&nbsp;</div><div><font face="Arial" size="2"></font>&nbsp;</div><div>----- Original Message -----</div><blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left-color: rgb(0, 0, 0); border-left-width: 2px; border-left-style: solid; margin-right: 0px; "><div style="background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(228, 228, 228); font: normal normal normal 10pt/normal arial; background-position: initial initial; "><b>From:</b><span class="Apple-converted-space">&nbsp;</span><a title="cvgaviao@gmail.com" href="mailto:cvgaviao@gmail.com">Cristiano Gavião</a></div><div style="font: normal normal normal 10pt/normal arial; "><b>To:</b><span class="Apple-converted-space">&nbsp;</span><a title="rules-users@lists.jboss.org" href="mailto:rules-users@lists.jboss.org">Rules Users List</a></div><div style="font: normal normal normal 10pt/normal arial; "><b>Sent:</b><span class="Apple-converted-space">&nbsp;</span>Monday, February 02, 2009 12:26 AM</div><div style="font: normal normal normal 10pt/normal arial; "><b>Subject:</b><span class="Apple-converted-space">&nbsp;</span>[rules-users] How can I query tasks created by MinaServer?</div><div><br></div><div>Hi,&nbsp;</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">Im trying to query the human tasks that was created and persisted by the MinaServer.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">Looking at junit tests I could see that for that job I should use MinaTaskClient.getTasksAssignedAsPotentialOwner(<span style="color: rgb(42, 0, 255); ">"Darth Vader"</span>,<span class="Apple-converted-space">&nbsp;</span><span style="color: rgb(42, 0, 255); ">"en-UK"</span>, responseHandler) or other methods like this one;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">In this case I should pass one responseHandler that implements&nbsp;TaskSummaryResponseHandler.</div></div><div><br></div><div>In the source code I could see that exists&nbsp;BlockingTaskSummaryResponseHandler class that implements&nbsp;<span class="Apple-style-span" style="font-size: 11px; font-family: Monaco; ">TaskSummaryResponseHandler.&nbsp;</span></div><div><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 11px; "><br></span></font></div><div><span class="Apple-style-span" style="font-size: 11px; font-family: Monaco; ">Should I use this class or create one myself???</span></div><div><br></div><div><br></div><div>By the way, these class isn't on M5 JAR.... I think because Its not located on the right path. It is on src/test folder instead of src/main.....</div><div><br></div><div>thanks and best regards</div><br><div apple-content-edited="true"><span class="Apple-style-span" style="word-spacing: 0px; font: normal normal normal 12px/normal Helvetica; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="word-spacing: 0px; font: normal normal normal 12px/normal Helvetica; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>____________________________________</div><div>Cristiano Gavião</div><div><br></div><div><br></div></div></span></div></span></div><div><br class="webkit-block-placeholder"></div><hr><div><br class="webkit-block-placeholder"></div>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></div></span></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>_________________________</div><div>Cristiano V. Gavião</div></div><div><br></div><div></div><div>"Sonhe com o que você quiser. Vá para onde você queira ir.</div><div><div>Seja o que você quer ser, porque você possui apenas uma vida</div><div>e nela só temos uma chance de fazer aquilo que queremos.</div><div>Tenha felicidade bastante para fazê-la doce. Dificuldades&nbsp;para fazê-la forte. Tristeza para fazê-la humana. E</div><div>esperança suficiente para fazê-la feliz."&nbsp;Clarice Lispector</div></div></div></span></div></span></div></span> </div><br></body></html>