]
Tomasz Adamski closed WFLY-2939.
--------------------------------
Resolution: Duplicate Issue
JBAS014194 Extended Implementation of 'import
javax.jms.MessageListener' not accepted
-------------------------------------------------------------------------------------
Key: WFLY-2939
URL:
https://issues.jboss.org/browse/WFLY-2939
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 8.0.0.Final
Environment: Windows 7, 64bit, JDK 1.7
Reporter: Eugen Eisler
Priority: Major
I am trying to deploy working Weblogic EAR to WildFly and it is not working, because a
MDB (ExampleTopic1Mdb) can not be deployed, what extends a super
class(SingleTypeEventListenerBridgeByJms) which implements MessageListener, but the MDB
itself does not have "implements javax.jms.MessageListener".
Error Message:
JBAS014194: EJB 3.1 FR 5.4.2 MessageDrivenBean does not implement 1 interface nor
specifies message listener interface.
@SuppressWarnings("unused")
@MessageDriven(mappedName = ExampleConstants.JMS_TOPIC1,
activationConfig = { @ActivationConfigProperty(propertyName =
"destinationType", propertyValue = "javax.jms.Topic"),
@ActivationConfigProperty(propertyName =
"topicMessagesDistributionMode", propertyValue =
"One-Copy-Per-Application") })
@Traceable
public class ExampleTopic1Mdb extends SingleTypeEventListenerBridgeByJms<Task> {
@Inject
public void setExampleSynchronizer(EventListener<Task> exampleSynchronizer) {
super.setEventListener(exampleSynchronizer);
}
}
public class SingleTypeEventListenerBridgeByJms<T> implements
javax.jms.MessageListener {
....
The class SingleTypeEventListenerBridgeByJms is in different ejb module of the EAR.