[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-cocoon-docs
Subject: [DAISY] Updated: JMSEventMessageListener
From: daisy () cocoon ! zones ! apache ! org
Date: 2008-08-17 19:28:15
Message-ID: 28684718.1219001295286.JavaMail.daisy () cocoon ! zones ! apache ! org
[Download RAW message or body]
A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/1503.html
Document ID: 1503
Branch: main
Language: default
Name: JMSEventMessageListener (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 8/17/08 7:28:02 PM
Updated by: Lukas Lang
A new version has been created, state: draft
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 1027 bytes (previous version: 37 bytes)
Content diff:
--- <html><body><p>TODO</p></body></html>
+++ <html>
+++ <body>
+++
+++ <h1>Summary</h1>
+++
+++ <p>JMSEventMessageListener subscribes to an injected destination and invalidates
+++ cached content, associated with NamedEvents, passed by a JMS message.</p>
+++
+++ <h1>Documentation</h1>
+++
+++ <h3>Configuration</h3>
+++
+++ <p>The JMS listener is configured as a simple Spring bean:</p>
+++
+++ <pre> <bean id="org.apache.cocoon.jms.sample.JMSEventMessageListener"
+++ class="org.apache.cocoon.acting.JMSEventMessageListener"
+++ init-method="init" destroy-method="destroy" scope="singleton">
+++ <property name="template" ref="org.apache.cocoon.jms.sample.consumerJmsTemplate" />
+++ <property name="subscriptionId" value="topicconsumer" />
+++ <property name="destination" ref="org.apache.cocoon.jms.sample.topic" />
+++ <property name="cache" ref="org.apache.cocoon.caching.Cache/EventAware"´/>
+++ </bean></pre>
+++
+++ <p>Internally, JMSEventMessageListener uses Spring's JMS abstraction layer,
+++ which include a template for JMS actions like receipt.</p>
+++
+++ </body>
+++ </html>
Fields
======
CocoonBlock: jms (new field)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic