Package org.apache.cxf.bus.managers

Examples of org.apache.cxf.bus.managers.WorkQueueManagerImpl


@Deprecated
public class WorkQueueSingleConfigTest {
    @Test
    public void testReadConfig() throws IOException, ConfigurationException {
        WorkQueueManager wqm = new WorkQueueManagerImpl();
        Assert.assertNull(wqm.getNamedWorkQueue("default"));
        ManagedWorkQueueList workQueueList = new ManagedWorkQueueList();
        WorkQueueSingleConfig wqlSingleConfig =
            new WorkQueueSingleConfig(workQueueList);
        InputStream is = this.getClass().getResourceAsStream("org.apache.cxf.workqueues.cfg");
        Properties properties = new Properties();
View Full Code Here


    public void testWorkQueueInstrumentation() throws Exception {
        SpringBusFactory factory = new SpringBusFactory();
        bus =  factory.createBus("managed-spring.xml", true);
        im = bus.getExtension(InstrumentationManager.class);
        assertTrue("Instrumentation Manager should not be null", im != null);
        WorkQueueManagerImpl wqm = new WorkQueueManagerImpl();
        wqm.setBus(bus);
        wqm.getAutomaticWorkQueue();
       
        MBeanServer mbs = im.getMBeanServer();
        assertNotNull("MBeanServer should be available.", mbs);
        ObjectName name = new ObjectName(ManagementConstants.DEFAULT_DOMAIN_NAME
                                         + ":type=WorkQueues,*");
 
View Full Code Here

@Deprecated
public class WorkQueueSingleConfigTest {
    @Test
    public void testReadConfig() throws IOException, ConfigurationException {
        WorkQueueManager wqm = new WorkQueueManagerImpl();
        Assert.assertNull(wqm.getNamedWorkQueue("default"));
        ManagedWorkQueueList workQueueList = new ManagedWorkQueueList();
        WorkQueueSingleConfig wqlSingleConfig =
            new WorkQueueSingleConfig(workQueueList);
        InputStream is = this.getClass().getResourceAsStream("org.apache.cxf.workqueues.cfg");
        Properties properties = new Properties();
View Full Code Here

TOP

Related Classes of org.apache.cxf.bus.managers.WorkQueueManagerImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.