I have a non-JMS MDB that I'm installing into a Websphere Liberty server.
package mdb.test;
import javax.ejb.MessageDriven;
@MessageDriven()
public class TheMDB implements MyOwnListener {
public TheMDB() {}
@Override
public void onMyOwnMessage(MyOwnMessage message) {}
}
Without further configuration, the server gives the following message:
[WARNING ]
CNTR4015W
: The message endpoint for theTheMDB
message-driven bean cannot be activated because themdb.test/TheMDB
activation specification is not available. The message endpoint will not receive messages until the activation specification becomes available.
Do MDBs have to have an activation specification? I'd like it to just be activated, without having to add further configuration to the server.