users@glassfish.java.net

Activation spec props in sun-ejb-jar.xml

From: <glassfish_at_javadesktop.org>
Date: Thu, 16 Oct 2008 01:50:37 PDT

According to documentation published here http://docs.sun.com/app/docs/doc/819-3671/abljw?a=view I try to override default settings to set DeliveryInterval for MDB to i.e. 10 sec. and change max redelivery attempts.

I put config:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Application Server 9.0 EJB 3.0//EN' 'http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd'>
<sun-ejb-jar>
        <enterprise-beans>
                <ejb>
                        <ejb-name>AcsJmsListener</ejb-name>
                        <mdb-resource-adapter>
                                <resource-adapter-mid>jmsra</resource-adapter-mid>
                            <activation-config>
                                    <activation-config-property>
                                            <activation-config-property-name>RedeliveryInterval</activation-config-property-name>
                                            <activation-config-property-value>10</activation-config-property-value>
                                    </activation-config-property>
                                    <activation-config-property>
                                            <activation-config-property-name>RedeliveryAttempts</activation-config-property-name>
                                            <activation-config-property-value>20</activation-config-property-value>
                                    </activation-config-property>
                            </activation-config>
                        </mdb-resource-adapter>
                </ejb>
        </enterprise-beans>
</sun-ejb-jar>

to my app, but with no results in runtime :(
Do I something wrong ?

regards
Beniamin
[Message sent by forum member 'beniamin' (beniamin)]

http://forums.java.net/jive/thread.jspa?messageID=308013