Thought this would have been a pain free exercise... Although replacing the libs and building the project is clean, running the app results in runtime exceptions.
Should our existing Spring 1 XML configuration files work with Spring 2/AMQ 5.0 libs? Using the following: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations"> <list> <value>file://app.properties</value> </list> </property> </bean> <bean id="jmsFactory" destroy-method="stop" class="org.apache.activemq.pool.PooledConnectionFactory"> <property name="connectionFactory"> <bean class="org.apache.activemq.ActiveMQConnectionFactory"> <property name="brokerURL" value="failover:(vm://localhost?brokerConfig=xbean:/activemq.xml)?wireFormat.maxInactivityDuration=1000"/> <property name="optimizeAcknowledge" value="false"/> <property name="copyMessageOnSend" value="false"/> <property name="useAsyncSend" value="true"/> <property name="useCompression" value="true"/> </bean> </property> </bean> <bean id="myJmsTemplate" class="org.springframework.jms.core.JmsTemplate"> <property name="connectionFactory"> <ref local="jmsFactory"/> </property> <property name="pubSubDomain"> <value>true</value> </property> <property name="timeToLive" value="60000"/> </bean> Results in the following exception: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Could not create Transport. Reason: java.lang.IllegalArgumentException: Invalid connect parameters: {wireFormat.maxInactivityDuration=1000}; nested exception is java.lang.IllegalArgumentException: Invalid connect parameters: {wireFormat.maxInactivityDuration=1000} at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:289 Any ideas, why this occurs? Have been through the online references and searched the forum but have not been able to find a similar problem. Thanks in advance Brian -- View this message in context: http://www.nabble.com/Migration-from-Spring-1-AMQ-4.1-to-Spring-2-AMQ-5.0-tp15013046s2354p15013046.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.