users@genericjmsra.java.net

RedeliveryInterval & RedeliveryAttempts does not work using tibco EMS

From: James Richardson <james_at_time4tea.net>
Date: Thu, 26 Jul 2007 15:19:38 +0100 (BST)

Hi,


I'm using genericra v1.7 and tibco EMS 4.4. I am trying to configure a
redelivery interval & attempts using the sun-ejb-jar.xml

However, a poison message (one that causes a fail at tx commit time in one
of the resources bound into the transaction) will cause infinite and
immediate redelivery of the message - effectivly bringing the entire
server down.

I am using a Topic.

Does anybody have any insight into why this happens and what I can do
about it. I'm worried I might have to ditch the sun server if i can't
figure this out.

Here's my sun-ejb-jar

    <enterprise-beans>
        <ejb>
            <ejb-name>BusinessEventHub</ejb-name>

            <resource-ref>
                <res-ref-name>todoEventsConnectionFactory</res-ref-name>
                <jndi-name>jms/cf/LaserXaTopicCF</jndi-name>
            </resource-ref>

            <message-destination-ref>
                <message-destination-ref-name>todoTopic</message-destination-ref-name>
                <jndi-name>jms/destination/TodoEvents</jndi-name>
            </message-destination-ref>

            <mdb-resource-adapter>
                <resource-adapter-mid>tibco-ems-ra</resource-adapter-mid>
                <activation-config>
                    <activation-config-property>
                        <activation-config-property-name>DestinationType</activation-config-property-name>
                        <activation-config-property-value>javax.jms.Topic</activation-config-property-value>
                    </activation-config-property>
                    <activation-config-property>
                        <activation-config-property-name>ConnectionFactoryJndiName</activation-config-property-name>
                        <activation-config-property-value>LaserTopicXACF</activation-config-property-value>
                    </activation-config-property>
                    <activation-config-property>
                        <activation-config-property-name>DestinationJndiName</activation-config-property-name>
                        <activation-config-property-value>BusinessEvents</activation-config-property-value>
                    </activation-config-property>
                    <activation-config-property>
                        <activation-config-property-name>RedeliveryAttempts</activation-config-property-name>
                        <activation-config-property-value>5</activation-config-property-value>
                    </activation-config-property>
                    <activation-config-property>
                        <activation-config-property-name>RedeliveryInterval</activation-config-property-name>
                        <activation-config-property-value>10000</activation-config-property-value>
                    </activation-config-property>
                </activation-config>
            </mdb-resource-adapter>
        </ejb>
    </enterprise-beans>

_any_ help much appreciated.