[jboss-cvs] JBoss Messaging SVN: r5451 - trunk/examples/messaging/src/org/jboss/messaging/example.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 2 10:05:46 EST 2008
Author: jmesnil
Date: 2008-12-02 10:05:46 -0500 (Tue, 02 Dec 2008)
New Revision: 5451
Modified:
trunk/examples/messaging/src/org/jboss/messaging/example/WildCardClient.java
Log:
fixed package for NettyConnectorFactory class
Modified: trunk/examples/messaging/src/org/jboss/messaging/example/WildCardClient.java
===================================================================
--- trunk/examples/messaging/src/org/jboss/messaging/example/WildCardClient.java 2008-12-02 14:24:35 UTC (rev 5450)
+++ trunk/examples/messaging/src/org/jboss/messaging/example/WildCardClient.java 2008-12-02 15:05:46 UTC (rev 5451)
@@ -30,6 +30,7 @@
import org.jboss.messaging.core.config.TransportConfiguration;
import org.jboss.messaging.core.exception.MessagingException;
import org.jboss.messaging.core.logging.Logger;
+import org.jboss.messaging.integration.transports.netty.NettyConnectorFactory;
import org.jboss.messaging.util.SimpleString;
/**
@@ -46,7 +47,7 @@
SimpleString wildCardQ = new SimpleString("queuejms.#");
try
{
- ClientSessionFactory sessionFactory = new ClientSessionFactoryImpl(new TransportConfiguration("org.jboss.messaging.core.remoting.impl.netty.NettyConnectorFactory"));
+ ClientSessionFactory sessionFactory = new ClientSessionFactoryImpl(new TransportConfiguration(NettyConnectorFactory.class.getName()));
clientSession = sessionFactory.createSession(false, true, true);
SimpleString queue = new SimpleString("queuejms.testQueue");
SimpleString queue2 = new SimpleString("queuejms.MyQueue");
More information about the jboss-cvs-commits
mailing list