From: Vance K. <va...@us...> - 2006-07-24 14:18:08
|
User: vancek Date: 06/07/24 07:18:08 Modified: andromda-ejb3/src/site/xdoc howto.xml howto10.xml Log: add docs for MQ destinations descriptor Revision Changes Path 1.24 +2 -0 cartridges/andromda-ejb3/src/site/xdoc/howto.xml Index: howto.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/xdoc/howto.xml,v retrieving revision 1.23 retrieving revision 1.24 diff -u -w -r1.23 -r1.24 --- howto.xml 10 Jul 2006 07:21:55 -0000 1.23 +++ howto.xml 24 Jul 2006 14:18:08 -0000 1.24 @@ -158,6 +158,8 @@ <li><p><a href="howto10.html#Message_Driven_Context">Message Driven Context</a></p></li> <li><p><a href="howto10.html#Session_Bean_Injection">Session Bean Injection</a></p></li> <li><p><a href="howto10.html#Resource_Injection">Resource Injections</a></p></li> + <li><p><a href="howto10.html#Singleton_MDB">Singleton MDB</a></p></li> + <li><p><a href="howto10.html#MQ_Destinations_Descriptor">MQ Destinations Descriptor</a></p></li> </ul> </p> </li> 1.7 +23 -0 cartridges/andromda-ejb3/src/site/xdoc/howto10.xml Index: howto10.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/xdoc/howto10.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -w -r1.6 -r1.7 --- howto10.xml 28 Jun 2006 04:54:08 -0000 1.6 +++ howto10.xml 24 Jul 2006 14:18:08 -0000 1.7 @@ -262,6 +262,29 @@ <code>ejb-jar.xml</code> deployment descriptor. </p> </subsection> + <a name="MQ_Destinations_Descriptor"/> + <subsection name="MQ Destinations Descriptor"> + <p> + The EJB3 cartridge will create the default MQ destinations XML descriptor which can be + hot deployed to the JBoss container for creating your queues or topics. The following + is a very basic example with a single queue mbean definition. +<source language="xml"><![CDATA[ +<?xml version="1.0" encoding="UTF-8"?> +<server> + <mbean code="org.jboss.mq.server.jmx.Queue" + name="jboss.mq.destination:service=Queue,name=EmailSenderMDBBean"> + <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends> + <attribute name="JNDIName">queue/emailSender</attribute> + </mbean> +<!-- jboss mq destinations merge-point --> + +</server> +]]></source> + This file is created in your project/app/target directory and will be named something like + <code>{PROJECT_NAME}-mq-destinations-service.xml</code>. Just deploy this to your JBoss + deploy directory before deploying your application EAR. + </p> + </subsection> </section> <section name="Next"> <p> |