1 25 package org.objectweb.easybeans.tests.common.ejbs.mdb.containermanaged.basic; 26 27 import javax.ejb.ActivationConfigProperty ; 28 import javax.ejb.MessageDriven ; 29 import javax.jms.Message ; 30 import javax.jms.MessageListener ; 31 32 import org.objectweb.easybeans.tests.common.ejbs.entity.callbacklogger.CallbackType; 33 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.callbacklogger.BaseInsertCallbackEvent; 34 import org.objectweb.easybeans.tests.common.jms.JMSManager; 35 36 42 @MessageDriven (activationConfig = { 43 @ActivationConfigProperty (propertyName = "destinationType", propertyValue = "javax.jms.Topic"), 44 @ActivationConfigProperty (propertyName = "destination", propertyValue = JMSManager.DEFAULT_TOPIC), 45 @ActivationConfigProperty (propertyName = "messageSelector", propertyValue = 46 "TYPE ='org.objectweb.easybeans.tests.common.ejbs.mdb.containermanaged.basic.MDBTopic00'") 47 }) 48 public class MDBTopic00 extends BaseInsertCallbackEvent implements MessageListener { 49 50 53 public static final String MESSAGE_TYPE = "org.objectweb.easybeans.tests.common.ejbs.mdb.containermanaged.basic.MDBTopic00"; 54 55 59 public void onMessage(final Message message) { 60 super.log(MDBTopic00.class, CallbackType.ON_MESSAGE, MDBTopic00.class); 61 } 62 63 } 64 | Popular Tags |