activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Xie <>
Subject dose failover have a timeout setting?
Date Mon, 07 Aug 2006 06:46:59 GMT

I use spring JmsTemplate to send jms message to AcitveMQ server. but i found
a problem that if amq server is not avaible, it will throw exception while
reconnect timeout.

here's my spring xml configurations:
  <bean id="jmsFactory"
	<property name="connectionFactory">
		<bean class="org.apache.activemq.ActiveMQConnectionFactory"> <!--
;jms.useAsyncSend=true -->
			<property name="brokerURL"

  <bean id="jmsTemplate" class="org.springframework.jms.core.JmsTemplate">
	<property name="connectionFactory">
		<ref local="jmsFactory"/>

is there any mistakes ?
could someone do me a favor? Thx!

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

View raw message