Examples of SftpMessageQueueWriter


Examples of io.fathom.cloud.mq.filesystem.SftpMessageQueueWriter

    @Override
    public MessageQueueWriter getWriter(SshConfig sshConfig, String queue) throws IOException {
        if (queue.startsWith("sftp://")) {
            File path = new File(queue.substring(7));
            return new SftpMessageQueueWriter(sshConfig, new RemoteFile(path));
        } else {
            throw new IllegalArgumentException();
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.