cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: JMSEventMessageListener
Date Sun, 17 Aug 2008 19:28:15 GMT
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>  &lt;bean id="org.apache.cocoon.jms.sample.JMSEventMessageListener"
+++     class="org.apache.cocoon.acting.JMSEventMessageListener"
+++     init-method="init" destroy-method="destroy" scope="singleton"&gt;
+++     &lt;property name="template" ref="org.apache.cocoon.jms.sample.consumerJmsTemplate"
/&gt;
+++     &lt;property name="subscriptionId" value="topicconsumer" /&gt;
+++     &lt;property name="destination" ref="org.apache.cocoon.jms.sample.topic" /&gt;
+++     &lt;property name="cache" ref="org.apache.cocoon.caching.Cache/EventAware"´/&gt;
+++   &lt;/bean&gt;</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)

Mime
View raw message