// Path: camel-blueprint-route-as-a-service/raas-service-provider/src/main/java/org/darugna/camel/raas/CamelRaas.java
// public interface CamelRaas {
// 
//     Integer methodOne(@Body String arg0);
//     
//     Integer methodTwo(@Header("ARG0")String arg0,
//             @Header("ARG1") String arg1);
//     
// }


import org.darugna.camel.raas.CamelRaas;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
package org.darugna.camel.raas.consumer;


/**
 * This bean as a reference to CamelRaas interface. It is injected in this context
 * as an OSGi service. Each method call to this interface will invoke a Camel
 * route.
 * 
 * @author Alessandro Da Rugna (alessandro.darugna@gmail.com)
 */
public class ConsumerBeanThatUsesService {

    private final static Logger log = LoggerFactory.getLogger(ConsumerBeanThatUsesService.class);
    
// Path: camel-blueprint-route-as-a-service/raas-service-provider/src/main/java/org/darugna/camel/raas/CamelRaas.java
// public interface CamelRaas {
// 
//     Integer methodOne(@Body String arg0);
//     
//     Integer methodTwo(@Header("ARG0")String arg0,
//             @Header("ARG1") String arg1);
//     
// }


// Path: camel-blueprint-route-as-a-service/raas-service-consumer/src/main/java/org/darugna/camel/raas/consumer/ConsumerBeanThatUsesService.java
import org.darugna.camel.raas.CamelRaas;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

package org.darugna.camel.raas.consumer;


/**
 * This bean as a reference to CamelRaas interface. It is injected in this context
 * as an OSGi service. Each method call to this interface will invoke a Camel
 * route.
 * 
 * @author Alessandro Da Rugna (alessandro.darugna@gmail.com)
 */
public class ConsumerBeanThatUsesService {

    private final static Logger log = LoggerFactory.getLogger(ConsumerBeanThatUsesService.class);
    
    private CamelRaas camelRaas;