public class JmsEventForwarder extends Object implements PostCommitEventListener
Modifier and Type | Field and Description |
---|---|
protected boolean |
jmsBusIsActive |
static String |
NUXEO_JMS_TOPIC |
Constructor and Description |
---|
JmsEventForwarder() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canForwardMessage(EventBundle events) |
void |
handleEvent(EventBundle events)
Handles the set of events that were raised during the life of an user operation.
|
protected void |
produceJMSMessage(SerializableEventBundle message) |
public static final String NUXEO_JMS_TOPIC
protected boolean jmsBusIsActive
public JmsEventForwarder()
protected void produceJMSMessage(SerializableEventBundle message) throws JMSBusNotActiveException
JMSBusNotActiveException
public void handleEvent(EventBundle events)
PostCommitEventListener
The events are fired as a BundleEvent
after the transaction is committed.
handleEvent
in interface PostCommitEventListener
events
- the events to handleprotected boolean canForwardMessage(EventBundle events)
Copyright © 2018 Nuxeo. All rights reserved.