[seam-issues] [JBoss JIRA] Resolved: (SEAMCRON-9) Should we expose exceptions during @Asynchronous via Future?

Peter Royle (JIRA) jira-events at lists.jboss.org
Thu May 12 00:31:18 EDT 2011


     [ https://issues.jboss.org/browse/SEAMCRON-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Royle resolved SEAMCRON-9.
--------------------------------

    Fix Version/s: 3.0.0.Alpha1
       Resolution: Done


We're already returning a FutureTask, which provides the appropriate behaviour. Added a comment to indicate the significance of this behaviour, and a test to ensure it remains.

> Should we expose exceptions during @Asynchronous via Future?
> ------------------------------------------------------------
>
>                 Key: SEAMCRON-9
>                 URL: https://issues.jboss.org/browse/SEAMCRON-9
>             Project: Seam Cron
>          Issue Type: Enhancement
>            Reporter: Peter Royle
>            Assignee: Peter Royle
>            Priority: Minor
>              Labels: asynchronous, exception
>             Fix For: 3.0.0.Alpha1
>
>
> When an @Asynchronous method returns a Future, in EJB it allows you to access exceptions thrown by the @Asynchronous method via the returned Future object (EJB 3.1, 3.4.8). If possible we should mimic this behaviour.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list