activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Bitronix With ActiveMQ
Date Fri, 22 Oct 2010 08:51:23 GMT
not sure bout bitronix, but you can put the redelivery policy config
in the broker url, that may help, cause you got to provide the some
where, right?
eg:
tcp://localhost:61617?jms.redeliveryPolicy.maximumRedeliveries=1

On 21 October 2010 20:05, urciolo <Kevin.Urciolo@ngc.com> wrote:
>
> 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.
>



-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Mime
View raw message