Atomikos Forum |
|
<bean id="mqConnectionFactory" class="com.ibm.mq.jms.MQXAQueueConnectionFactory">
<property name="queueManager"><value>${queueManager}</value> </property><property name="hostName"><value>${hostName}</value> </property><property name="channel"><value>${channel}</value> </property><property name="port"><value>${port}</value> </property><property name="transportType"><value>${TransportType}</value> </property><property name="SSLCipherSuite" value="${SSLCipherSuite}" /> </bean> <bean id="ProcessInitiatorContainer" class="org.springframework.jms.listener.DefaultMessageListenerContainer"> <property name="transactionManager" ref="JtaTransactionManager" /> <property name="connectionFactory" ref="atomikosConnectionFactory" /> <property name="destinationResolver" ref="jmsDestinationResolver" /> <property name="destinationName" value="${PROCESSINITIATION_QUEUE}" /> <property name="messageListener" ref="ProcessInitiatorListener" /> <property name="sessionTransacted" value="true" /> <property name="autoStartup" value="true" /> <property name="pubSubDomain" value="false" /> <property name="maxConcurrentConsumers" value="5" /> </bean> <bean id="atomikosConnectionFactory" class="com.atomikos.jms.AtomikosConnectionFactoryBean" init-method="init" destroy-method="close"> <property name="xaQueueConnectionFactory"><ref bean="mqConnectionFactory"/></property> <property name="maxPoolSize" value="10"/> <property name="uniqueResourceName" value="My_MQSeries_XA_RMI"/> </bean> the jars i used are atomikos-util.jar geronimo-j2ee-connector_1.5_spec.jar geronimo-jms_1.1_spec.jar geronimo-jta_1.0.1B_spec.jar slf4j-api.jar transactions.jar transactions-jms.jar transactions-jta.jar transactions-osgi.jar transactions-jdbc.jar the problem is the spring listener contauiner not listening to the message it throwing timeout mesage |