activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From urciolo <Kevin.Urci...@ngc.com>
Subject Bitronix With ActiveMQ
Date Thu, 21 Oct 2010 19:05:13 GMT

Is there a way with Bitronix to reference redelivery policies and prefetch
policies using the driver properties?


    <bean id="testActiveMQJmsFactory"
class="bitronix.tm.resource.jms.PoolingConnectionFactory" init-method="init"
        destroy-method="close">
        <property name="className"
value="org.apache.activemq.ActiveMQXAConnectionFactory" />
        <property name="uniqueName" value="activemq" />
        <property name="maxPoolSize" value="25" />
        <property name="twoPcOrderingPosition" value="-1" />
        <property name="driverProperties">
            <props>
                <prop
key="brokerURL">orderedfailover:tcp://localhost:61616</prop>
                <prop key="redeliveryPolicy">
                    <bean class="org.apache.activemq.RedeliveryPolicy">
                        <property name="maximumRedeliveries"
value="999999999" />
                    </bean>
                </prop>
                <prop name="prefetchPolicy" ref="activeMQPrefetchPolicy" />
            </props>
        </property>
    </bean>
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/Bitronix-With-ActiveMQ-tp3006122p3006122.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message