activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Poul Møller Hansen <free...@pbnet.dk>
Subject ActiveMQ in Glassfish web application
Date Fri, 11 May 2012 19:13:12 GMT
Using an external ActiveMQ in an enterprise application in Glassfish 
works fine, setting up the connection factory in glassfish-ejb-jar.xml

<glassfish-ejb-jar>
     <enterprise-beans>
         <ejb>
             <ejb-name>ExampleMessageBean</ejb-name>
             <mdb-connection-factory>
                 <jndi-name>jms/connectionFactory</jndi-name>
             </mdb-connection-factory>
             <mdb-resource-adapter>
 
<resource-adapter-mid>activemq-rar-5.5.1</resource-adapter-mid>
             </mdb-resource-adapter>
         </ejb>
     </enterprise-beans>
</glassfish-ejb-jar>


But how can it be used in an web application ?
Are there an equivalent method in glassfish-web-app.xml ?


Thanks,
Poul

Mime
View raw message