[jboss-cvs] JBossAS SVN: r100659 - in branches/Branch_Hornet_Temporary_2/hornetq-int: src/resources and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Feb 6 22:30:19 EST 2010


Author: clebert.suconic at jboss.com
Date: 2010-02-06 22:30:19 -0500 (Sat, 06 Feb 2010)
New Revision: 100659

Added:
   branches/Branch_Hornet_Temporary_2/hornetq-int/src/resources/hornetq-deployers-jboss-beans.xml
Removed:
   branches/Branch_Hornet_Temporary_2/hornetq-int/src/resources/hornetq-deployer-jboss-beans.xml
Modified:
   branches/Branch_Hornet_Temporary_2/hornetq-int/pom.xml
Log:
deployers work

Modified: branches/Branch_Hornet_Temporary_2/hornetq-int/pom.xml
===================================================================
--- branches/Branch_Hornet_Temporary_2/hornetq-int/pom.xml	2010-02-07 03:29:16 UTC (rev 100658)
+++ branches/Branch_Hornet_Temporary_2/hornetq-int/pom.xml	2010-02-07 03:30:19 UTC (rev 100659)
@@ -30,7 +30,7 @@
           <excludes>
              <exclude>org/jboss/as/integration/hornetq/jopr/**</exclude>
              <exclude>**/rhq-plugin.xml</exclude>
-             <exclude>**/hornetq-deployer-beans.xml</exclude>
+             <exclude>**/hornetq-deployers-beans.xml</exclude>
           </excludes>
         </configuration>
       </plugin>

Deleted: branches/Branch_Hornet_Temporary_2/hornetq-int/src/resources/hornetq-deployer-jboss-beans.xml
===================================================================
--- branches/Branch_Hornet_Temporary_2/hornetq-int/src/resources/hornetq-deployer-jboss-beans.xml	2010-02-07 03:29:16 UTC (rev 100658)
+++ branches/Branch_Hornet_Temporary_2/hornetq-int/src/resources/hornetq-deployer-jboss-beans.xml	2010-02-07 03:30:19 UTC (rev 100659)
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<deployment xmlns="urn:jboss:bean-deployer:2.0">
-   <bean name="HornetJMSDeployer" class="org.jboss.as.integration.hornetq.deployer.JMSDeployer">
-      <constructor>
-         <parameter>
-            <inject bean="Configuration"/>
-         </parameter>
-         <parameter>
-            <inject bean="JMSServerManager"/>
-         </parameter>
-      </constructor>
-   </bean>
-
-
-</deployment>
\ No newline at end of file

Copied: branches/Branch_Hornet_Temporary_2/hornetq-int/src/resources/hornetq-deployers-jboss-beans.xml (from rev 100442, branches/Branch_Hornet_Temporary_2/hornetq-int/src/resources/hornetq-deployer-jboss-beans.xml)
===================================================================
--- branches/Branch_Hornet_Temporary_2/hornetq-int/src/resources/hornetq-deployers-jboss-beans.xml	                        (rev 0)
+++ branches/Branch_Hornet_Temporary_2/hornetq-int/src/resources/hornetq-deployers-jboss-beans.xml	2010-02-07 03:30:19 UTC (rev 100659)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+   <bean name="HornetQJMSParserDeployer" class="org.jboss.as.integration.hornetq.deployers.HornetQJMSParserDeployer"/>
+   
+   <bean name="HornetQJMSRealDeployer" class="org.jboss.as.integration.hornetq.deployers.HornetQJMSRealDeployer"/>
+
+
+   <!-- Destination creator for HornetQ
+        This gets "automagically" injected into CreateDestinationDeployer Bean at ejb-deployer-jboss.xml through incallback and uncallback
+    -->
+   <bean name="HornetQDestinationCreator" class="org.jboss.ejb.deployers.CreateDestination">
+      <!-- We match any jms mdb that is going to be deployed using our rar -->
+      <property name="matcher">
+         <bean class="org.jboss.ejb.deployers.SimpleCreateDestinationMatcher">
+            <property name="default">true</property>
+            <property name="messageListener">javax.jms.MessageListener</property>
+            <property name="rarName">hornetq-ra.rar</property>
+         </bean>
+      </property>
+      <!-- Create a destination with HornetQ -->
+      <property name="factory">
+         <bean class="org.jboss.as.integration.hornetq.deployers.DestinationFactoryDeployerPlugin"/>
+      </property>
+   </bean>
+
+</deployment>
\ No newline at end of file




More information about the jboss-cvs-commits mailing list