Atomikos Forum

I am using atomikos for transaction management with MQ series

<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
satyatheja kunchey Send private email
Friday, September 13, 2013
 
 
Did you try with our MessageDrivenContainer instead?
Guy Pardon Send private email
Saturday, November 02, 2013
 
 
Guy,

Do you have an example of using Atomikos's MessageDrivenContainer?

Thanks,
Abdul Rasheed
Abdul Rasheed Send private email
Friday, November 29, 2013
 
 
Hi,

Examples are included if you register for download on our website.

Best
Guy Pardon Send private email
Monday, December 02, 2013
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics