1 22 package org.jboss.test.messagedriven.support; 23 24 import java.util.Properties ; 25 26 import javax.management.ObjectName ; 27 28 import org.jboss.mx.util.ObjectNameFactory; 29 30 36 public abstract class JMSContainerInvokerSimpleMessageDrivenUnitTest extends SimpleMessageDrivenUnitTest 37 { 38 protected ObjectName mdbInvoker = ObjectNameFactory.create("jboss.j2ee:service=EJB,jndiName=TestMDB,plugin=invoker,binding=jms-container-invoker-driven-bean"); 39 40 public JMSContainerInvokerSimpleMessageDrivenUnitTest(String name, ObjectName jmxDestination, Properties defaultProps) 41 { 42 super(name, jmxDestination, defaultProps); 43 } 44 45 public void testDeliveryActive() throws Exception 46 { 47 Properties props = (Properties ) defaultProps.clone(); 48 props.put("DeliveryActive", "false"); 49 runTest(getDeliveryActiveOperations(), props); 50 } 51 52 public abstract Operation[] getDeliveryActiveOperations() throws Exception ; 53 } 54 | Popular Tags |