diff --git a/spring-data-keyvalue-parent/pom.xml b/spring-data-keyvalue-parent/pom.xml
index b0a7cece1..45e6f69bd 100644
--- a/spring-data-keyvalue-parent/pom.xml
+++ b/spring-data-keyvalue-parent/pom.xml
@@ -314,8 +314,8 @@
org.apache.maven.pluginsmaven-compiler-plugin
- 1.6
- 1.6
+ 1.5
+ 1.5-Xlint:alltruefalse
diff --git a/spring-data-redis/pom.xml b/spring-data-redis/pom.xml
index 2c95966af..df79d0267 100644
--- a/spring-data-redis/pom.xml
+++ b/spring-data-redis/pom.xml
@@ -16,10 +16,10 @@
"[3.0.0, 4.0.0)"031220101.5.2
- 0.6.3
+ 0.6.4"[1.0.0,2.0.0)""[1.6, 2.0.0)"
- "[0.6.3, 0.6.3]"
+ "[0.6.4, 0.6.4]"
diff --git a/spring-data-redis/src/main/java/org/springframework/data/keyvalue/redis/connection/rjc/CloseSuppressingRjcConnection.java b/spring-data-redis/src/main/java/org/springframework/data/keyvalue/redis/connection/rjc/CloseSuppressingRjcConnection.java
new file mode 100644
index 000000000..f5adba611
--- /dev/null
+++ b/spring-data-redis/src/main/java/org/springframework/data/keyvalue/redis/connection/rjc/CloseSuppressingRjcConnection.java
@@ -0,0 +1,117 @@
+/*
+ * Copyright 2011 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.springframework.data.keyvalue.redis.connection.rjc;
+
+import java.io.IOException;
+import java.net.UnknownHostException;
+import java.util.List;
+
+import org.idevlab.rjc.ds.RedisConnection;
+import org.idevlab.rjc.message.RedisNodeSubscriber;
+import org.idevlab.rjc.protocol.Protocol.Command;
+
+/**
+ * Basic decorator suppressing close() calls to the underlying connection.
+ * Used for reusing arbitrary connections with {@link RedisNodeSubscriber} without
+ * resorting to connection pooling.
+ *
+ * @author Costin Leau
+ */
+class CloseSuppressingRjcConnection implements RedisConnection {
+
+ private final RedisConnection delegate;
+
+ /**
+ * Constructs a new CloseSuppressingRjcConnection instance.
+ *
+ * @param delegate
+ */
+ CloseSuppressingRjcConnection(RedisConnection delegate) {
+ this.delegate = delegate;
+ }
+
+ public void close() {
+ // no-op
+ }
+
+ public void connect() throws UnknownHostException, IOException {
+ delegate.connect();
+ }
+
+ public List