pavelsklenar


Spring Integration: SFTP Download using Key-Based Authentication

This example will demonstrate how to use Spring Integration for downloading files from a remote SFTP server. Two possible authentications could be used, i.e. public key or password. Technologies used: Spring Boot 1.5.2.RELEASE Spring Integration 4.3.8.RELEASE (managed by Spring Boot) Spring 4.3.7.RELEASE (managed by Spring Boot) Quick overview: Create SFTP […]


Spring Integration: SFTP Upload Example using Key-Based Authentication 6

This example will demonstrate how to use Spring Integration for uploading files to a remote SFTP server. Two possible authentications could be used, i.e. public key or password. Technologies used: Spring Boot 1.5.2.RELEASE Spring Integration 4.3.8.RELEASE (managed by Spring Boot) Spring 4.3.7.RELEASE (managed by Spring Boot) Quick overview: Create SFTP […]


Parallel Processing in Java

This post shows how to implement parallelism in Java using its native  java.util.concurrent classes. I mean especially using parallel Fork-Join Framework (available since Java 1.7), which is most suitable for processing of high complex (CPU intensive) tasks. I mean that case when you have one very complex task and you […]


Simple Groovy Logger Without Any Logging Framework

If you need to use a simple logging in your Groovy script you can use some existing and supported frameworks. Sometimes you do not want or cannot use any other dependencies in your script, so you can write your own simple logger using methodMissing implementation: Supported log levels are TRACE, DEBUG, INFO, […]