Hi
Can you share your mdb container config please?
Also maybe execute the setters command of tomee.sh on your activationspec
class.
Le 11 août 2017 02:18, "gnanapandithan" <m.gnanapandithan@gmail.com> a
écrit :
>
> I am trying to consume message from websphere MQ using MDB and configured
> in ejb-jar.xml . am using below mentioned tech stack. I need to add
> *redelivery delay* option in my MDB activation config. I
> used"initialRedeliveryDelay" option in ejb-jar.xml got exception.
>
> *Tech stack*
> 1. TomEE 7.0.3
> 2. Java EE 7
> 3. JMS 2.0
> 4. IBM MQ 8.0
>
> /MDB ActivationConfig/
> http://tomee.apache.org/jms-resources-and-mdb-container.html
>
> *code*
> <activation-config-property>
>
> <activation-config-property-name>initialRedeliveryDelay</
> activation-config-property-name>
>
> <activation-config-property-value>50000</activation-config-property-value>
> </activation-config-property>
>
>
> *Exception*
> Caused by: org.apache.openejb.OpenEJBException: Unable to create
> activation
> spec: No setter found for the activation spec properties:
> [initialRedeliveryDelay]
> at
> org.apache.openejb.core.mdb.MdbContainer.createActivationSpec(
> MdbContainer.java:256)
> at org.apache.openejb.core.mdb.MdbContainer.deploy(
> MdbContainer.java:139)
> at
> org.apache.openejb.assembler.classic.Assembler.startEjbs(
> Assembler.java:1584)
> ... 14 more
> Caused by: java.lang.IllegalArgumentException: No setter found for the
> activation spec properties: [initialRedeliveryDelay]
> at
> org.apache.openejb.core.mdb.MdbContainer.createActivationSpec(
> MdbContainer.java:225)
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/MDB-initialRedeliveryDelay-configuration-tp4682419.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>
|