[hornetq-commits] JBoss hornetq SVN: r8884 - trunk/tests/src/org/hornetq/tests/util.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Feb 17 10:32:22 EST 2010


Author: jmesnil
Date: 2010-02-17 10:32:21 -0500 (Wed, 17 Feb 2010)
New Revision: 8884

Modified:
   trunk/tests/src/org/hornetq/tests/util/JMSTestBase.java
Log:
fix test suite 

* add a netty connector to the server config to avoid an exception when deploying
  connection factories from jms-tests/config/hornetq-jms.xml

Modified: trunk/tests/src/org/hornetq/tests/util/JMSTestBase.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/util/JMSTestBase.java	2010-02-16 16:52:12 UTC (rev 8883)
+++ trunk/tests/src/org/hornetq/tests/util/JMSTestBase.java	2010-02-17 15:32:21 UTC (rev 8884)
@@ -107,6 +107,7 @@
       conf.setJMXManagementEnabled(true);
 
       conf.getAcceptorConfigurations().add(new TransportConfiguration(NettyAcceptorFactory.class.getName()));
+      conf.getConnectorConfigurations().put("netty", new TransportConfiguration(NettyConnectorFactory.class.getName()));
 
       server = HornetQServers.newHornetQServer(conf, usePersistence());
 



More information about the hornetq-commits mailing list