Class CamelServiceExporterDefinition


  • @Metadata(label="spring,configuration")
    public class CamelServiceExporterDefinition
    extends org.apache.camel.model.IdentifiedType
    Used for export a service using Spring Remoting to hide the network call using an interface.
    • Constructor Detail

      • CamelServiceExporterDefinition

        public CamelServiceExporterDefinition()
    • Method Detail

      • getUri

        public String getUri()
      • setUri

        public void setUri​(String uri)
        Camel endpoint uri to use a remote transport when calling the service
      • getServiceRef

        public String getServiceRef()
      • setServiceRef

        public void setServiceRef​(String serviceRef)
        Reference to the service name to lookup in the registry.
      • getMethod

        public String getMethod()
      • setMethod

        public void setMethod​(String method)
        Name of method to invoke on service
      • getServiceInterface

        public Class<?> getServiceInterface()
      • setServiceInterface

        public void setServiceInterface​(Class<?> serviceInterface)
        Java interfaces to use as facade for the service to be exported
      • getCamelContextId

        public String getCamelContextId()
      • setCamelContextId

        public void setCamelContextId​(String camelContextId)
        The id of the CamelContext to use, if there is multiple CamelContext in the same JVM.