Hi,
I created a simple ejb3 MDB consuming topic messages.
When i deploy my simple.ear containing just one ejb3 with the one mdb class the onMessage() Method fires whenever a message arrives.
Next step: Undeploy leads to 2 lines:
[EARDeployer] Undeploying J2EE application, destroy step: ...
[EARDeployer] Undeployed J2EE application: ...
@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "resourceAdaptorName", propertyValue = "activemq-ra-4.0-M4.rar"), @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"), @ActivationConfigProperty(propertyName = "Destination", propertyValue = "MyTest") }) public class MyTestMDB implements MessageListener { public void onMessage(Message msg) { System.out.println("hello world"); }}