Spring Integration provides an extension of the Spring programming model to support the well-known Enterprise Integration Patterns (EIP)
Java CSS HTML XSLT Groovy Ruby
Latest commit a7171c4 Sep 28, 2016 @artembilan artembilan committed with garyrussell INT-4127: Fix `ZkLock.tryLock()` timing issue
JIRA: https://jira.spring.io/browse/INT-4127
Fixes GH-1913 (#1913)

The current `tryLock()` implementation with the `0` timeout to wait for underlying `InterProcessMutex` answer makes this function almost fully impossible

* Fix `ZkLock.tryLock()` to delegate with the `tryLock(1, TimeUnit.SECONDS)` to give some time window chance for network communication.
It isn't ideal for the `tryLock()` contract, but at least it is better then don't let the feature to work at all.

**Cherry-pick to 4.3.x & 4.2.x**
Permalink
Failed to load latest commit information.
gradle/wrapper Upgrade to Gradle 2.14 and SF-4.3.1 Jun 20, 2016
spring-integration-amqp/src Fix for previous commit with unfinished change Sep 30, 2016
spring-integration-bom INT-3397 Add spring-integration-bom May 1, 2014
spring-integration-core/src INT-4113: Add `@Poller.errorChannel()` Attribute Sep 27, 2016
spring-integration-event/src (S)FTP Lambdas Sep 26, 2016
spring-integration-feed/src (S)FTP Lambdas Sep 26, 2016
spring-integration-file (S)FTP Lambdas Sep 26, 2016
spring-integration-ftp INT-4128: FTP ControlEncoding Fix Sep 29, 2016
spring-integration-gemfire/src (S)FTP Lambdas Sep 26, 2016
spring-integration-groovy/src (S)FTP Lambdas Sep 26, 2016
spring-integration-http/src HTTP Inbound Javadoc Improvements Sep 28, 2016
spring-integration-ip/src INT-4124: ByteBuffer.array() with Direct Buffers Sep 27, 2016
spring-integration-jdbc Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-jms/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-jmx/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-jpa/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-mail/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-mongodb/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-mqtt/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-redis INT-4126: Fix Redis lock to use `SET NX EX` Sep 28, 2016
spring-integration-rmi/src INT-4066: Expose RMI Factory Bean Aug 22, 2016
spring-integration-scripting/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-security/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-sftp (S)FTP Lambdas Sep 26, 2016
spring-integration-stomp/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-stream/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-syslog/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-test/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-twitter/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-websocket/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-ws/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-xml/src Mainly Checkstyle Violation Fixes Sep 22, 2016
spring-integration-xmpp/src INT-3913 Remove/resolve deprecation from the past Aug 26, 2016
spring-integration-zookeeper/src INT-4127: Fix `ZkLock.tryLock()` timing issue Sep 30, 2016
src INT-4113: Add `@Poller.errorChannel()` Attribute Sep 27, 2016
.gitignore File Cleanup - Core Jun 4, 2016
.travis.yml INT-4019: Upgrade to Gradle-2.13 Apr 29, 2016
CODE_OF_CONDUCT.adoc Add Contributor Covenant Feb 1, 2016
CONTRIBUTING.adoc CLA Hook Jul 11, 2016
README.md Fix the build and gitter badges Sep 23, 2016
build.gradle (S)FTP Lambdas Sep 26, 2016
gradle.properties SI-5.0: ReactiveMessageChannel & ReactiveEndpoint Aug 17, 2016
gradlew INT-4019: Upgrade to Gradle-2.13 Apr 29, 2016
gradlew.bat INT-4019: Upgrade to Gradle-2.13 Apr 29, 2016
publish-maven.gradle INT-3516: Allow `Optional<>` in POJO Method Args Oct 20, 2014
settings.gradle INT-3685: Introduce STOMP Adapters May 26, 2015

README.md

Spring Integration Join the chat at https://gitter.im/spring-projects/spring-integration

Checking out and Building

To check out the project and build from source, do the following:

git clone git://github.com/spring-projects/spring-integration.git
cd spring-integration
./gradlew build

NOTE: While Spring Integration runs with Java SE 6 or higher, a Java 8 compiler is required to build the project.

If you encounter out of memory errors during the build, increase available heap and permgen for Gradle:

GRADLE_OPTS='-XX:MaxPermSize=1024m -Xmx1024m'

To build and install jars into your local Maven cache:

./gradlew install

To build api Javadoc (results will be in build/api):

./gradlew api

To build reference documentation (results will be in build/reference):

./gradlew reference

To build complete distribution including -dist, -docs, and -schema zip files (results will be in build/distributions)

./gradlew dist

Using Eclipse

To generate Eclipse metadata (.classpath and .project files), do the following:

./gradlew eclipse

Once complete, you may then import the projects into Eclipse as usual:

File -> Import -> Existing projects into workspace

Browse to the 'spring-integration' root directory. All projects should import free of errors.

Using IntelliJ IDEA

To generate IDEA metadata (.iml and .ipr files), do the following:

./gradlew idea

Resources

For more information, please visit the Spring Integration website at: http://projects.spring.io/spring-integration