activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Xie <>
Subject client hanged while using Spring2.0Rc2 mdp supporting feature
Date Mon, 07 Aug 2006 09:56:46 GMT

i meet a problem that client hang while using Spring2.0Rc2 mdp supporting
feature on starting client if AMQ server is not start.

I am using Tomcat 5.5.17 servlet server. spring 2.0Rc2.
following is my spring xml configuration:
  <!-- bellow is for JMS mdp usage -->
  <bean id="jmsRecieveFactory"
	<property name="connectionFactory">
		<bean class="org.apache.activemq.ActiveMQConnectionFactory"> <!--
;jms.useAsyncSend=true -->
			<property name="brokerURL"
  <bean id="jmsRecieveTransactionManager"
    <property name="connectionFactory"> 
        <ref local="jmsRecieveFactory"/> 
<!-- test message recieve from localhost -->
  <!-- Let's define MBPOJOs here -->
  <bean id="sc_mdpojo"
class="" singleton="false">
    <property name="jmsCallbackable">
        <bean class=""/>   

  <!-- and this is the default message listener container for sc.
  	   for more litenerContainers setting pls append prefix eg.
sc_listenerContainerB, sc_listenerContainerC ...-->
  <bean id="sc_listenerContainerA"
     <property name="concurrentConsumers" value="5"/>
     <property name="connectionFactory" ref="jmsRecieveFactory" />
     <property name="destinationName" value="DM_BJTD.Queue" />
     <property name="messageListener" ref="sc_mdpojo" />
     <property name="transactionManager" ref="jmsRecieveTransactionManager"

on starting tomcat server, it will hang as repeating reconnect to the amq
could anyone meet such problem before?Appreciating any replies!

View this message in context:
Sent from the ActiveMQ - User forum at

View raw message