[webbeans-dev] ConnectionFactory

Gavin King gavin.king at gmail.com
Thu May 28 22:37:11 EDT 2009


After talking with Jason, I realized that we definitely do need a way
to specify the ConnectionFactory for a MessageDestination. No problem,
easy solution:

   @Resource(name="java:global/env/jms/PaymentQueue")
   @ConnectionFactory(@Resource(name="java:global/env/jms/ConnectionFactory"))
   @Produces @PaymentProcessor Queue paymentQueue;

See section 3.6.2.

-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JSR-299-20090528.pdf
Type: application/pdf
Size: 564761 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/weld-dev/attachments/20090528/d075edb3/attachment.pdf 


More information about the weld-dev mailing list