camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bibr...@apache.org
Subject git commit: CAMEL-6726: Setting a redis serializer will set it both for consumer and producer
Date Thu, 12 Sep 2013 09:28:05 GMT
Updated Branches:
  refs/heads/camel-2.11.x 9aa233ff5 -> f9f0d9c4d


CAMEL-6726: Setting a redis serializer will set it both for consumer and producer


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f9f0d9c4
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f9f0d9c4
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f9f0d9c4

Branch: refs/heads/camel-2.11.x
Commit: f9f0d9c4d060b5c10ff02c0a2222d1619762e4d6
Parents: 9aa233f
Author: Bilgin Ibryam <bibryam@apache.org>
Authored: Wed Sep 11 14:46:02 2013 +0100
Committer: Bilgin Ibryam <bibryam@apache.org>
Committed: Thu Sep 12 10:24:42 2013 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/redis/RedisConfiguration.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f9f0d9c4/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisConfiguration.java
b/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisConfiguration.java
index 6e9bb12..6ef48d9 100755
--- a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisConfiguration.java
+++ b/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisConfiguration.java
@@ -116,6 +116,7 @@ public class RedisConfiguration {
 
     private RedisTemplate createDefaultTemplate() {
         redisTemplate = new RedisTemplate();
+        redisTemplate.setDefaultSerializer(getSerializer());
         redisTemplate.setConnectionFactory(getConnectionFactory());
         redisTemplate.afterPropertiesSet();
         return redisTemplate;


Mime
View raw message