Liferay Message Bus stop listening or might get stuck on any message

thumbnail
Arslan Anwaar, modified 6 Years ago. New Member Posts: 6 Join Date: 10/16/12 Recent Posts
Hi, 
I am using Liferay 6.2 CE GA6 and I have configured two Liferay Message bus listeners.It was working fine from a year almost but suddenly one of the Message Bus listener has stopped listening the messages sent by application.Following is my messaging-spring.xml file:<?xml version="1.0"?><beans default-destroy-method="destroy" default-init-method="afterPropertiesSet"
    xmlns="http://www.springframework.org/schema/beans" 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">    <!-- Listeners -->    <bean id="messageListener.generalMessageListener"
        class="com.test.GeneralMessageListener" />    <bean id="messageListener.campaignExecutionListener"
        class="com.test.CampaignExecutionListener" />    <!-- Destinations -->    <bean id="general.messages" class="com.liferay.portal.kernel.messaging.SerialDestination">
        <property name="name" value="general/messages" />
    </bean>
    <bean id="campaign.execution" class="com.liferay.portal.kernel.messaging.SerialDestination">
        <property name="name" value="campaign/execution" />
    </bean>    <!-- Configurator -->    <bean id="messagingConfigurator"
        class="com.liferay.portal.kernel.messaging.config.PluginMessagingConfigurator">
        <property name="messageListeners">
            <map key-type="java.lang.String" value-type="java.util.List">
                <entry key="general/messages">
                    <list value-type="com.liferay.portal.kernel.messaging.MessageListener">
                        <ref bean="messageListener.generalMessageListener" />
                    </list>
                </entry>
                <entry key="campaign/execution">
                    <list value-type="com.liferay.portal.kernel.messaging.MessageListener">
                        <ref bean="messageListener.campaignExecutionListener" />
                    </list>
                </entry>
            </map>
        </property>
        <property name="destinations">
            <list>
                <ref bean="general.messages" />
                <ref bean="campaign.execution" />
            </list>
        </property>
    </bean>
</beans>
Is there anyway where we can see the list of messages sent to a message bus orwe can track the status of messages?Can anyone please help me out in this?Thanks