geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rsumner <>
Subject Re: JMS ConnectionFactory Resource injection into a Session Bean
Date Sun, 25 Jan 2009 02:51:01 GMT


I appreciate the response.  Here is a little more information explaining
what I needed to do to make the session bean work:

in the ejb-jar.xml:

In the openejb-jar.xml:
                <name:resource-link>ActiveMQ RA</name:resource-link>

Lastly, in the Session Bean, I did have to use name rather than mappedName.
	protected ConnectionFactory jmsFactory;
	protected Queue jmsQueue;

djencks wrote:
> use name-"foo" not mappedName="foo" in your annotations.
> Annotations work the same in servlets and ejbs.  We have a sample that  
> has an mdb and a servlet that sends messages to the servlet.  See the  
> jms-mdb sample described under
> thanksd
> david jencks
View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message