[seam-issues] [JBoss JIRA] Commented: (SEAMJMS-6) Routes should be produced instead of returned from an annotated method

Jordan Ganoff (JIRA) jira-events at lists.jboss.org
Sun Feb 6 17:08:39 EST 2011


    [ https://issues.jboss.org/browse/SEAMJMS-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580367#comment-12580367 ] 

Jordan Ganoff commented on SEAMJMS-6:
-------------------------------------

Removing @EventRouting in favor of producer methods for Collection<Route> and/or Route. 

For example:

@Inject EventBridge b;

@Produces Collection<Route> getRoutes() { return Arrays.asList(b.createRoute(..)); }
@Produces Route getRoute() { return b.createRoute(..); }

> Routes should be produced instead of returned from an annotated method
> ----------------------------------------------------------------------
>
>                 Key: SEAMJMS-6
>                 URL: https://issues.jboss.org/browse/SEAMJMS-6
>             Project: Seam JMS
>          Issue Type: Feature Request
>          Components: Event Bridging
>            Reporter: Jordan Ganoff
>            Assignee: Jordan Ganoff
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> Change EventRouting to be produced instead of allowing any method to be annotated.

-- 
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