All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.messaging-misc-spring.xml Maven / Gradle / Ivy

<?xml version="1.0"?>

<beans
	default-destroy-method="destroy"
	default-init-method="afterPropertiesSet"
	xmlns="http://www.springframework.org/schema/beans"
	xmlns:util="http://www.springframework.org/schema/util"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd"
>

	<!-- Listeners -->

	<bean class="com.liferay.portal.convert.messaging.ConvertProcessMessageListener" id="messageListener.convert_process" />
	<bean class="com.liferay.portal.deploy.hot.messaging.HotDeployMessageListener" id="messageListener.hot_deploy" />
	<bean class="com.liferay.portal.internal.messaging.async.AsyncMessageListener" id="messageListener.async_service" />
	<bean class="com.liferay.portal.kernel.cluster.messaging.ClusterBridgeMessageListener" id="messageListener.live_users_cluster">
		<property name="priority">
			<util:constant static-field="com.liferay.portal.kernel.cluster.Priority.LEVEL5" />
		</property>
	</bean>
	<bean class="com.liferay.portal.liveusers.messaging.LiveUsersMessageListener" id="messageListener.live_users" />
	<bean class="com.liferay.portlet.documentlibrary.messaging.AudioProcessorMessageListener" id="messageListener.document_library_audio_processor" />
	<bean class="com.liferay.portlet.documentlibrary.messaging.ImageProcessorMessageListener" id="messageListener.document_library_image_processor" />
	<bean class="com.liferay.portlet.documentlibrary.messaging.PDFProcessorMessageListener" id="messageListener.document_library_pdf_processor" />
	<bean class="com.liferay.portlet.documentlibrary.messaging.RawMetadataProcessorMessageListener" id="messageListener.document_library_raw_metadata_processor" />
	<bean class="com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener" id="messageListener.document_library_video_processor" />

	<!-- Configurator -->

	<bean class="com.liferay.portal.kernel.messaging.config.DefaultMessagingConfigurator" id="messagingConfigurator.misc">
		<property name="destinationConfigurations">
			<util:set>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/async_service" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_PARALLEL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/convert_process" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_SERIAL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/document_library_audio_processor" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_SERIAL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/document_library_image_processor" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_SERIAL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/document_library_pdf_processor" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_SERIAL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/document_library_raw_metadata_processor" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_SERIAL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/document_library_video_processor" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_SERIAL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/hot_deploy" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_SERIAL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/layouts_local_publisher" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_PARALLEL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/layouts_remote_publisher" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_PARALLEL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/live_users" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_SERIAL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/message_boards_mailing_list" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_PARALLEL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/subscription_clean_up" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_PARALLEL" />
					</constructor-arg>
				</bean>
				<bean class="com.liferay.portal.kernel.messaging.DestinationConfiguration">
					<constructor-arg name="destinationName" value="liferay/subscription_sender" />
					<constructor-arg name="destinationType">
						<util:constant static-field="com.liferay.portal.kernel.messaging.DestinationConfiguration.DESTINATION_TYPE_PARALLEL" />
					</constructor-arg>
				</bean>
			</util:set>
		</property>
		<property name="messageListeners">
			<map key-type="java.lang.String" value-type="java.util.List">
				<entry key="liferay/async_service">
					<list value-type="com.liferay.portal.kernel.messaging.MessageListener">
						<ref bean="messageListener.async_service" />
					</list>
				</entry>
				<entry key="liferay/convert_process">
					<list value-type="com.liferay.portal.kernel.messaging.MessageListener">
						<ref bean="messageListener.convert_process" />
					</list>
				</entry>
				<entry key="liferay/document_library_audio_processor">
					<list value-type="com.liferay.portal.kernel.messaging.MessageListener">
						<ref bean="messageListener.document_library_audio_processor" />
					</list>
				</entry>
				<entry key="liferay/document_library_image_processor">
					<list value-type="com.liferay.portal.kernel.messaging.MessageListener">
						<ref bean="messageListener.document_library_image_processor" />
					</list>
				</entry>
				<entry key="liferay/document_library_pdf_processor">
					<list value-type="com.liferay.portal.kernel.messaging.MessageListener">
						<ref bean="messageListener.document_library_pdf_processor" />
					</list>
				</entry>
				<entry key="liferay/document_library_raw_metadata_processor">
					<list value-type="com.liferay.portal.kernel.messaging.MessageListener">
						<ref bean="messageListener.document_library_raw_metadata_processor" />
					</list>
				</entry>
				<entry key="liferay/document_library_video_processor">
					<list value-type="com.liferay.portal.kernel.messaging.MessageListener">
						<ref bean="messageListener.document_library_video_processor" />
					</list>
				</entry>
				<entry key="liferay/hot_deploy">
					<list value-type="com.liferay.portal.kernel.messaging.MessageListener">
						<ref bean="messageListener.hot_deploy" />
					</list>
				</entry>
				<entry key="liferay/live_users">
					<list value-type="com.liferay.portal.kernel.messaging.MessageListener">
						<ref bean="messageListener.live_users" />
						<ref bean="messageListener.live_users_cluster" />
					</list>
				</entry>
			</map>
		</property>
	</bean>
</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy