DATAKV-68

+ add pattern vs channel example inside docs
This commit is contained in:
Costin Leau
2011-04-28 17:56:56 +03:00
parent 623f1a0c97
commit ce59e74b72

View File

@@ -164,6 +164,7 @@ template.convertAndSend("hello!", "world");]]></programlisting>
...
&lt;beans&gt;
</programlisting>
<note>The listener topic can be either a channel (e.g. <literal>topic="chatroom"</literal>) or a pattern (e.g. <literal>topic="*room"</literal>)</note>
<para>The example above uses the Redis namespace to declare the message listener container and automatically register the POJOs as listeners. The full blown, <emphasis>beans</emphasis> definition
is displayed below:</para>