[seam-issues] [JBoss JIRA] Updated: (SEAMJMS-2) Message Destinations may be declared by specifying a @Resource annotation as part of a producer field

Jordan Ganoff (JIRA) jira-events at lists.jboss.org
Sat Jan 8 23:20:49 EST 2011


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

Jordan Ganoff updated SEAMJMS-2:
--------------------------------

    Attachment: JSR-299-20090521.pdf


Need to make sure @Resource works in all supported environments.

> Message Destinations may be declared by specifying a @Resource annotation as part of a producer field
> -----------------------------------------------------------------------------------------------------
>
>                 Key: SEAMJMS-2
>                 URL: https://issues.jboss.org/browse/SEAMJMS-2
>             Project: Seam JMS
>          Issue Type: Feature Request
>          Components: Injection
>            Reporter: Jordan Ganoff
>            Priority: Blocker
>              Labels: injection, jms, resource
>             Fix For: 3.0.0.Alpha2
>
>         Attachments: JSR-299-20090521.pdf
>
>   Original Estimate: 4 hours
>          Time Spent: 30 minutes
>  Remaining Estimate: 3 hours, 30 minutes
>
> From JSR-299-20090521.pdf:
> 3.7.2. Declaring a message destination
> A message destination may be declared by specifying a
> type Topic or Queue.
> @Resource
> annotation as part of a producer field declaration of
> The @Resource annotation specifies the metadata needed to obtain the topic or queue from the component environment.
> @Resource(name="java:global/env/jms/PaymentQueue")
> @Produces @PaymentProcessor Queue paymentQueue;
> @Resource(name="java:global/env/jms/Prices")
> @Produces @Prices Topic pricesTopic;
> The bindings and deployment type of the resource are determined by the producer field declaration.

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