summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/client/src/org/apache/qpid/client/transport/TransportConnection.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/java/client/src/org/apache/qpid/client/transport/TransportConnection.java b/java/client/src/org/apache/qpid/client/transport/TransportConnection.java
index 6f53731dcc..b4acbf5bc7 100644
--- a/java/client/src/org/apache/qpid/client/transport/TransportConnection.java
+++ b/java/client/src/org/apache/qpid/client/transport/TransportConnection.java
@@ -114,17 +114,7 @@ public class TransportConnection
public IoConnector newSocketConnector()
{
SocketConnector result;
- //fixme improve get
- if (Boolean.getBoolean("qpidnio"))
- {
- _logger.warn("Using Qpid NIO");
- result = new org.apache.qpid.nio.SocketConnector(); // non-blocking connector
- }
- else
- {
- _logger.warn("Using Mina NIO");
- result = new SocketConnector(); // non-blocking connector
- }
+ result = new SocketConnector(); // non-blocking connector
// Don't have the connector's worker thread wait around for other connections (we only use
// one SocketConnector per connection at the moment anyway). This allows short-running