<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY 
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space" 
bgColor=#ffffff>
<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: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=cvgaviao@gmail.com href="mailto:cvgaviao@gmail.com">Cristiano 
  Gavião</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=rules-users@lists.jboss.org 
  href="mailto:rules-users@lists.jboss.org">Rules Users List</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 02, 2009 12:26 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [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: 0px; FONT: 11px Monaco">Im trying to query the human tasks 
  that was created and persisted by the MinaServer.</DIV>
  <DIV style="MARGIN: 0px; FONT: 11px Monaco"><BR></DIV>
  <DIV style="MARGIN: 0px; FONT: 11px Monaco">Looking at junit tests I could see 
  that for that job I should use 
  MinaTaskClient.getTasksAssignedAsPotentialOwner(<SPAN 
  style="COLOR: #2a00ff">"Darth Vader"</SPAN>, <SPAN 
  style="COLOR: #2a00ff">"en-UK"</SPAN>, responseHandler) or other methods like 
  this one;</DIV>
  <DIV style="MARGIN: 0px; FONT: 11px Monaco"><BR></DIV>
  <DIV style="MARGIN: 0px; FONT: 11px 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: 12px 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: 0">
  <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: 12px 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>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>rules-users mailing 
  list<BR>rules-users@lists.jboss.org<BR>https://lists.jboss.org/mailman/listinfo/rules-users<BR></BLOCKQUOTE></BODY></HTML>