Hello !

Is this known as bug now ? Could anyone post the JIRA issue nbr/link ?

I've an similar problem: I try to implments a retry-mechanism for an 
asynchronous task. This is implemented as follows .. 

The retry is not processed in an asynchron way as expected .. (?)


  | @Stateless
  | @AutoCreate
  | @Name(AlertingEngineTask.NAME)
  | public class AlertingEngineTaskBean implements AlertingEngineTask {
  | 
  | ...........
  | 
  |   @Asynchronous
  |   public void recieve(Info info) {
  |     try {
  | 
  |           .........
  | 
  |     } catch (Throwable th) {
  |              retry (info);
  |     }
  |   }
  | 
  | ...........
  | 
  |   private void retry(Info info)   throws LogPermanentErrorsException {
  |             retry ++ ;
  |             
  |             if (retry > 4)
  |                     throw new LogPermanentErrorsException();
  |   AlertingEngineTask task = (AlertingEngineTask)
  |             Component.getInstance(this.getClass(), ScopeType.EVENT, true);
  |             task.setRetry(getRetry());
  |             task.recieve(info);
  |   }
  | 
  | }
  | 

I'm using seam 2.0.0.BETA1


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087976#4087976

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087976
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to