Accordingly to section 5.4.2 of the ejb core specification:
If the message-driven bean class implements more than one interface other than java.io.Serializable, java.io.Externalizable, or any of the interfaces deﬁned by the javax.ejb package, the message listener interface must be speciﬁed by the messageListenerInterface element of the MessageDriven annotation or the messaging-type element of the message-driven deployment descriptor element.
I've never tried the subscriptionDurability attribute, so I can only quote the spec 18.104.22.168 JMS Message-Driven Beans :
The property name used to specify whether a durable or non-durable subscription should be used is subscriptionDurability. The value for this property must be either Durable or NonDurable for a JMS message-driven bean. If a topic subscription is specified and subscriptionDurability is not specified, a non-durable subscription is assumed.
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
Rocket Oven Kickstarter - from the trailbosshttps://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss