Class JschResource

java.lang.Object
org.apache.camel.quarkus.component.jsch.it.JschResource

@Path("/jsch") public class JschResource extends Object
  • Field Details

    • username

      String username
    • password

      String password
    • host

      String host
    • port

      int port
    • fluentProducerTemplate

      @Inject org.apache.camel.FluentProducerTemplate fluentProducerTemplate
    • consumerTemplate

      @Inject org.apache.camel.ConsumerTemplate consumerTemplate
  • Constructor Details

    • JschResource

      public JschResource()
  • Method Details

    • copyFile

      @Path("/file/copy") @POST public javax.ws.rs.core.Response copyFile(@QueryParam("message") String message, String path) throws Exception
      Throws:
      Exception
    • getFile

      @Path("/file/get") @Produces("text/plain") @GET public String getFile(@QueryParam("path") String path) throws Exception
      Throws:
      Exception