tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Using JMS with Resource annotation
Date Wed, 02 Sep 2015 18:18:52 GMT
2015-09-02 15:30 GMT+02:00 msdocware <ms@docware.de>:

> I think I found my mistake. The Resource annotation is just a replacement
> for
> the web.xml reource-ref entry.
> I still need to obtain the instance from the initial context.
>
>
not really, at least not if set on a field. If it matches a tomee.xml
resource id then it will get injected in all managed beans without more
config.


> Now it works in Tomcat. I still need to test Websphere deployment, whether
> during deployment the resource mapping will be obtained from the annotation
> instead from the web.xml.
>
> Michael
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Using-JMS-with-Resource-annotation-tp4676042p4676060.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message