Class LocalEventBundlePipe
java.lang.Object
org.nuxeo.ecm.core.event.pipe.AbstractEventBundlePipe<EventBundle>
org.nuxeo.ecm.core.event.pipe.local.LocalEventBundlePipe
- All Implemented Interfaces:
EventBundlePipe
@Experimental
public class LocalEventBundlePipe
extends AbstractEventBundlePipe<EventBundle>
implements EventBundlePipe
Local In memory implementation: directly relays to WorkManager
- Since:
- 8.4
-
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.core.event.pipe.AbstractEventBundlePipe
name, params -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitialize the Pipe when Nuxeo Event Service startsprotected EventBundlemarshall(EventBundle events) de-hydrate the EventBundle to make it suitable for transmission on a Busprotected voidsend(EventBundle message) Do the actual push on the BusbooleanwaitForCompletion(long timeoutMillis) Wait until the end of event consumptionMethods inherited from class org.nuxeo.ecm.core.event.pipe.AbstractEventBundlePipe
filterBundle, getName, getParameters, preProcessBundle, sendEventBundle, shutdownMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.core.event.pipe.EventBundlePipe
sendEventBundle, shutdown
-
Field Details
-
consumer
-
-
Constructor Details
-
LocalEventBundlePipe
public LocalEventBundlePipe()
-
-
Method Details
-
initPipe
Description copied from interface:EventBundlePipeInitialize the Pipe when Nuxeo Event Service starts- Specified by:
initPipein interfaceEventBundlePipe- Overrides:
initPipein classAbstractEventBundlePipe<EventBundle>- Parameters:
name- the name as defined in the XMap descriptorparams- the parameters as defined in the XMap descriptor
-
send
Description copied from class:AbstractEventBundlePipeDo the actual push on the Bus- Specified by:
sendin classAbstractEventBundlePipe<EventBundle>
-
marshall
Description copied from class:AbstractEventBundlePipede-hydrate the EventBundle to make it suitable for transmission on a Bus- Specified by:
marshallin classAbstractEventBundlePipe<EventBundle>
-
waitForCompletion
Description copied from interface:EventBundlePipeWait until the end of event consumption- Specified by:
waitForCompletionin interfaceEventBundlePipe- Throws:
InterruptedException
-