Java 类org.apache.camel.component.netty.NettyEndpoint 实例源码

项目:vista-soa-ri    文件:VistaRpcEndpointTest.java   
@Test
public void testVistaEndpointType() throws Exception {
    Endpoint vista = this.getMandatoryEndpoint("vista://localhost:9211");
    assertTrue(vista instanceof NettyEndpoint);

    RpcResponse reply = template.requestBody("vista://localhost:9211", vista().connect("127.0.0.1", "vista.example.org"), RpcResponse.class);
    assertNotNull(reply);
    // assertEquals("1", reply.getField(0, 0));
}
项目:switchyard    文件:CamelNettyTcpBindingSslContextParameterRefModelTest.java   
public CamelNettyTcpBindingSslContextParameterRefModelTest() {
    super(NettyEndpoint.class, CAMEL_XML);

    setSkipCamelEndpointTesting(true);
}
项目:switchyard    文件:V1CamelNettyTcpBindingModelTest.java   
public V1CamelNettyTcpBindingModelTest() {
    super(NettyEndpoint.class, CAMEL_XML);

    setSkipCamelEndpointTesting(true);
}
项目:switchyard    文件:V1CamelNettyUdpBindingModelTest.java   
public V1CamelNettyUdpBindingModelTest() {
    super(NettyEndpoint.class, CAMEL_XML);

    setSkipCamelEndpointTesting(true);
}