public class MessageDrivenBeanContextTest extends AbstractTest {
@Deployment
public static WebArchive createTestArchive() {
EjbJarDescriptor ejbJarDescriptor = new EjbJarDescriptorBuilder().messageDrivenBeans(
newMessageDriven("TestQueue", QueueMessageDrivenBean.class.getName())
.addActivationConfigProperty("acknowledgeMode", "Auto-acknowledge")
.addActivationConfigProperty("destinationType", "javax.jms.Queue")
.addActivationConfigProperty("destinationLookup", ConfigurationFactory.get().getTestJmsQueue()),
newMessageDriven("TestTopic", TopicMessageDrivenBean.class.getName())