[jboss-cvs] JBossAS SVN: r103699 - trunk/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Apr 8 09:44:01 EDT 2010
Author: jmesnil
Date: 2010-04-08 09:44:01 -0400 (Thu, 08 Apr 2010)
New Revision: 103699
Modified:
trunk/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQCoreDeployment.java
Log:
HornetQ integration
* use SimpleString.toSimpleString() for coreQueue's filterString as it can be null to avoid a NPE from SimpleString ctor
Modified: trunk/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQCoreDeployment.java
===================================================================
--- trunk/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQCoreDeployment.java 2010-04-08 13:33:45 UTC (rev 103698)
+++ trunk/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/pojo/HornetQCoreDeployment.java 2010-04-08 13:44:01 UTC (rev 103699)
@@ -105,8 +105,11 @@
{
try
{
- server.createQueue(new SimpleString(coreQueue.getAddress()), new SimpleString(coreQueue.getName()), new SimpleString(
- coreQueue.getFilterString()), coreQueue.isDurable(), false);
+ server.createQueue(new SimpleString(coreQueue.getAddress()),
+ new SimpleString(coreQueue.getName()),
+ SimpleString.toSimpleString(coreQueue.getFilterString()),
+ coreQueue.isDurable(),
+ false);
}
catch (Exception e)
{
More information about the jboss-cvs-commits
mailing list