Package org.apache.camel.component.atmosphere.websocket

Examples of org.apache.camel.component.atmosphere.websocket.WebsocketComponent.createConfiguration()


    }

    @Test
    public void testComponentConfiguration() throws Exception {
        WebsocketComponent comp = context.getComponent("atmosphere-websocket", WebsocketComponent.class);
        EndpointConfiguration conf = comp.createConfiguration("atmosphere-websocket://localhost:8088/hola?sendToAll=true&useStreaming=false");

        assertEquals("true", conf.getParameter("sendToAll"));
        assertEquals("false", conf.getParameter("useStreaming"));

        ComponentConfiguration compConf = comp.createComponentConfiguration();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.