diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index fbc0c62..4580c18 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -6,11 +6,11 @@
-
+
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 42cb2c1..07e6bd4 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,7 +2,7 @@
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index fdf1fc8..94a25f7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -1,7 +1,6 @@
-
\ No newline at end of file
diff --git a/decode-web-service.iml b/decode-service.iml
similarity index 100%
rename from decode-web-service.iml
rename to decode-service.iml
diff --git a/src/main/java/net/irext/decoder/RedisConfig.java b/src/main/java/net/irext/decoder/RedisConfig.java
new file mode 100644
index 0000000..0e1dbc5
--- /dev/null
+++ b/src/main/java/net/irext/decoder/RedisConfig.java
@@ -0,0 +1,65 @@
+package net.irext.decoder;
+
+import net.irext.decoder.queue.MessagePublisher;
+import net.irext.decoder.queue.MessagePublisherImpl;
+import net.irext.decoder.queue.MessageSubscriber;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ComponentScan;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.data.redis.connection.jedis.JedisConnectionFactory;
+import org.springframework.data.redis.core.RedisTemplate;
+import org.springframework.data.redis.listener.ChannelTopic;
+import org.springframework.data.redis.listener.RedisMessageListenerContainer;
+import org.springframework.data.redis.listener.adapter.MessageListenerAdapter;
+import org.springframework.data.redis.serializer.GenericToStringSerializer;
+
+/**
+ * Filename: RedisConfig.java
+ * Revised: Date: 2018-12-29
+ * Revision: Revision: 1.0
+ *
+ * Description: Redis config class
+ *
+ * Revision log:
+ * 2018-12-29: created by strawmanbobi
+ */
+@Configuration
+@ComponentScan("net.irext")
+public class RedisConfig {
+
+ @Bean
+ JedisConnectionFactory jedisConnectionFactory() {
+ return new JedisConnectionFactory();
+ }
+
+ @Bean
+ public RedisTemplate redisTemplate() {
+ final RedisTemplate template = new RedisTemplate();
+ template.setConnectionFactory(jedisConnectionFactory());
+ template.setValueSerializer(new GenericToStringSerializer