Package org.apache.camel.web.model

Examples of org.apache.camel.web.model.Endpoints


     * Returns a list of endpoints available in this context
     */
    @GET
    @Produces({MediaType.TEXT_XML, MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
    public Endpoints getDTO() {
        return new Endpoints(getCamelContext());
    }
View Full Code Here


        assertValidCamel(camel);
    }

    @Test
    public void testEndpointsAsXml() throws Exception {
        Endpoints endpoints = resource("endpoints").accept("application/xml").get(Endpoints.class);
        assertValidEndpoints(endpoints);

        endpoints = resource("endpoints.xml").get(Endpoints.class);
        assertValidEndpoints(endpoints);
    }
View Full Code Here

     * Returns a list of endpoints available in this context
     */
    @GET
    @Produces({MediaType.TEXT_XML, MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
    public Endpoints getDTO() {
        return new Endpoints(getCamelContext());
    }
View Full Code Here

     * Returns a list of endpoints available in this context
     */
    @GET
    @Produces({MediaType.TEXT_XML, MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
    public Endpoints getDTO() {
        return new Endpoints(getCamelContext());
    }
View Full Code Here

        assertValidCamel(camel);
    }

    @Test
    public void testEndpointsAsXml() throws Exception {
        Endpoints endpoints = resource("endpoints").accept("application/xml").get(Endpoints.class);
        assertValidEndpoints(endpoints);

        endpoints = resource("endpoints.xml").get(Endpoints.class);
        assertValidEndpoints(endpoints);
    }
View Full Code Here

        camel = resource("/.xml").get(Camel.class);
        assertValidCamel(camel);
    }

    public void testEndpointsAsXml() throws Exception {
        Endpoints endpoints = resource("endpoints").accept("application/xml").get(Endpoints.class);
        assertValidEndpoints(endpoints);

        endpoints = resource("endpoints.xml").get(Endpoints.class);
        assertValidEndpoints(endpoints);
    }
View Full Code Here

     * Returns a list of endpoints available in this context
     */
    @GET
    @Produces({MediaType.TEXT_XML, MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
    public Endpoints getDTO() {
        return new Endpoints(getCamelContext());
    }
View Full Code Here

        assertValidCamel(camel);
    }

    @Test
    public void testEndpointsAsXml() throws Exception {
        Endpoints endpoints = resource("endpoints").accept("application/xml").get(Endpoints.class);
        assertValidEndpoints(endpoints);

        endpoints = resource("endpoints.xml").get(Endpoints.class);
        assertValidEndpoints(endpoints);
    }
View Full Code Here

     * Returns a list of endpoints available in this context
     */
    @GET
    @Produces({MediaType.TEXT_XML, MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
    public Endpoints getDTO() {
        return new Endpoints(getCamelContext());
    }
View Full Code Here

     * Returns a list of endpoints available in this context
     */
    @GET
    @Produces({MediaType.TEXT_XML, MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
    public Endpoints getDTO() {
        return new Endpoints(getCamelContext());
    }
View Full Code Here

TOP

Related Classes of org.apache.camel.web.model.Endpoints

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.