activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r777806 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/udp/UdpTransportFactory.java
Date Sat, 23 May 2009 06:32:35 GMT
Author: rajdavies
Date: Sat May 23 06:32:35 2009
New Revision: 777806

URL: http://svn.apache.org/viewvc?rev=777806&view=rev
Log:
Fix for https://issues.apache.org/activemq/browse/AMQ-2134

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/udp/UdpTransportFactory.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/udp/UdpTransportFactory.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/udp/UdpTransportFactory.java?rev=777806&r1=777805&r2=777806&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/udp/UdpTransportFactory.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/udp/UdpTransportFactory.java
Sat May 23 06:32:35 2009
@@ -60,7 +60,7 @@
             WireFormat wf = createWireFormat(options);
             int port = location.getPort();
             OpenWireFormat openWireFormat = asOpenWireFormat(wf);
-            UdpTransport transport = new UdpTransport(openWireFormat, port);
+            UdpTransport transport = (UdpTransport) createTransport(location, wf);
 
             Transport configuredTransport = configure(transport, wf, options, true);
             UdpTransportServer server = new UdpTransportServer(location, transport, configuredTransport,
createReplayStrategy());



Mime
View raw message