Uploaded image for project: 'Seam JMS'
  1. Seam JMS
  2. SEAMJMS-6

Routes should be produced instead of returned from an annotated method

    Details

      Description

      Change EventRouting to be produced instead of allowing any method to be annotated.

        Gliffy Diagrams

          Activity

          Hide
          jganoff Jordan Ganoff added a comment -

          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(..); }
          Show
          jganoff Jordan Ganoff added a comment - 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(..); }
          Hide
          jganoff Jordan Ganoff added a comment -

          Implemented.

          Show
          jganoff Jordan Ganoff added a comment - Implemented.

            People

            • Assignee:
              jganoff Jordan Ganoff
              Reporter:
              jganoff Jordan Ganoff
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development