Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.event.jms
Class JmsEventForwarder

java.lang.Object
  extended by org.nuxeo.ecm.core.event.jms.JmsEventForwarder
All Implemented Interfaces:
PostCommitEventListener

public class JmsEventForwarder
extends Object
implements PostCommitEventListener

Forwards Core EventBundles to JMS topics.

Author:
Tiry

Field Summary
static String NUXEO_JMS_TOPIC
           
 
Constructor Summary
JmsEventForwarder()
           
 
Method Summary
 void handleEvent(EventBundle events)
          Handles the set of events that were raised during the life of an user operation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUXEO_JMS_TOPIC

public static final String NUXEO_JMS_TOPIC
See Also:
Constant Field Values
Constructor Detail

JmsEventForwarder

public JmsEventForwarder()
Method Detail

handleEvent

public void handleEvent(EventBundle events)
                 throws ClientException
Description copied from interface: PostCommitEventListener
Handles the set of events that were raised during the life of an user operation.

The events are fired as a BundleEvent after the transaction is committed.

Specified by:
handleEvent in interface PostCommitEventListener
Parameters:
events - the events to handle
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.