List of usage examples for com.liferay.portal.kernel.messaging DestinationNames EXPORT_IMPORT_LIFECYCLE_EVENT_ASYNC
String EXPORT_IMPORT_LIFECYCLE_EVENT_ASYNC
To view the source code for com.liferay.portal.kernel.messaging DestinationNames EXPORT_IMPORT_LIFECYCLE_EVENT_ASYNC.
Click Source Link
From source file:com.liferay.exportimport.lifecycle.AsyncExportImportLifecycleMessageListener.java
License:Open Source License
@Reference(target = "(destination.name=" + DestinationNames.EXPORT_IMPORT_LIFECYCLE_EVENT_ASYNC + ")", unbind = "-") protected void setDestination(Destination destination) { }
From source file:com.liferay.exportimport.lifecycle.ExportImportLifecycleManagerImpl.java
License:Open Source License
@Activate protected void activate(BundleContext bundleContext) { _bundleContext = bundleContext;// w w w . j a va 2 s. co m registerDestination(bundleContext, DestinationConfiguration.DESTINATION_TYPE_SERIAL, DestinationNames.EXPORT_IMPORT_LIFECYCLE_EVENT_ASYNC); registerDestination(bundleContext, DestinationConfiguration.DESTINATION_TYPE_SYNCHRONOUS, DestinationNames.EXPORT_IMPORT_LIFECYCLE_EVENT_SYNC); }
From source file:com.liferay.exportimport.lifecycle.ExportImportLifecycleManagerImpl.java
License:Open Source License
protected void fireExportImportLifecycleEvent(ExportImportLifecycleEvent exportImportLifecycleEvent) { Message message = new Message(); message.put("exportImportLifecycleEvent", exportImportLifecycleEvent); _messageBus.sendMessage(DestinationNames.EXPORT_IMPORT_LIFECYCLE_EVENT_ASYNC, message.clone()); _messageBus.sendMessage(DestinationNames.EXPORT_IMPORT_LIFECYCLE_EVENT_SYNC, message.clone()); }