spring-integration

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

INT-3776: Add Codec support

JIRA: https://jira.spring.io/browse/INT-3776

revert LoggingHandlerTests

Added byte[] serialize(Object obj)

Clean up java doc and some minor name changes

added null checks

Cleanup and rename methods to encode/decode

remove SerializationFaileException

clean up

Polishing

  1. … 3 more files in changeset.

INT-3782: Fix PDF Formatting

JIRA; https://jira.spring.io/browse/INT-3782

  • downsize some images to fit in PDF margins
  • reduce some long FQ Class names
  • fix some tables
  • add some missing links
  1. … 5 more files in changeset.

INT-3786: Fix Several Sporadic Test Failures

JIRA: https://jira.spring.io/browse/INT-3786

  • Increase `receiveTimeout` for several `QueueChannel` and `CountDownLatch` based tests
  • Fix `FileSplitterTests` for Windows compatibility - `UTF-8` for bytes conversion
  • Make some STOMP tests as `LongRunning`

The next fixing phase

  1. … 5 more files in changeset.

INT-3788: Fix Poller Doc (Memory Leak)

JIRA: https://jira.spring.io/browse/INT-3788

    • -5
    • +12
    /src/reference/asciidoc/endpoint.adoc

Debugging for TCP FailOver Tests

Add LogLevelAdjuster; enable TRACE debugging for this test class.

INT-3780: Revert JaCoCo Version

JIRA: https://jira.spring.io/browse/INT-3780

The new version is not compatible with our Sonar servers.

INT-3401: Fix StoredProc Tests (Guava Optional)

JIRA: https://jira.spring.io/browse/INT-3401

INT-3785: Update to Spring Data Fowler SR2

JIRA: https://jira.spring.io/browse/INT-3785

INT-3783: Make JPA module compatible with IO

JIRA: https://jira.spring.io/browse/INT-3783

  • Since IO doesn't have `hibernate-jpa-2.1-api` dependency and we need it only for testing,

    hence move it to the `testRuntime`.

  • Revert `org.eclipse.persistence:javax.persistence` and make it as `optional`, since it is end-user

    responsibility to choose JPA implementation.

  • Resolve deprecations since the latest Spring Framework changes.
  • Increase `FeedInboundChannelAdapterParserTests` timeouts: https://build.spring.io/browse/INT-B41-353

INT-3491: (S)FTP Delegation Session Factory

JIRA: https://jira.spring.io/browse/INT-3491

Select the session factory at runtime.

Polishing; PR Comments

Also add/remove factories.

    • -0
    • +7
    /src/reference/asciidoc/whats-new.adoc

INT-3781: Configure HTTP GW Timeout Status Code

JIRA: https://jira.spring.io/browse/INT-3781

  • Add mechanisms to set status code on an inbound gateway timeout.
  • Send a message to the error channel if configured.

Polishing - Add failedMessage to MTE

Fix Schema Docs; Timeout Detection on Error Flow

Add Zookeeper Leadership Logs

Fix typo in the `SmartLifecycleRoleController`

    • -1
    • +10
    /src/reference/asciidoc/whats-new.adoc

INT-3780: Update to Gradle 2.5

JIRA: https://jira.spring.io/browse/INT-3780

  • Move `s-i-test` to top of file to avoid deprecation warning

  • Change `jacoco` to use the Gradle plugin

  • Enable generation of `jacoco` coverage html report

  • Hibernate tests need `javax.persistence` `2.1` eclipselink pulls in `2.0`;

    works ok with gradle 2.3, but with 2.5 the 2.0 versions are loaded.

  • replace `jpaApiVersion` build variable with the `jpa21ApiVersion`
    • -2
    • +2
    /gradle/wrapper/gradle-wrapper.properties

INT-3683: Fix typo in `schema.sql.vpp`

JIRA: https://jira.spring.io/browse/INT-3683

  • In addition fix `inputs` for the Gradle `generateSql` task and regenerate all SQLs

    to apply the typo fix.

    The previous way to generate sql scripts doesn't work properly. It is always as `UP-TO-DATE`.

    Adding `inputs` to the `generateSql` show the correct behaviour.

    From other side that makes `cleanSql` task as redundant.

  • Applying the Travis config fix to this commit as well.

Fix HTTP test timeout

https://build.spring.io/browse/INT-B41-346

Fix `ProducerAndConsumerAutoStartupTests`

https://build.spring.io/browse/INT-B41-346

Fix `DelayerUsageTests` `time` bean scope bug

https://build.spring.io/browse/INT-B41-347

Fix `HttpInboundGatewayParserTests.java` generics Java < 8 compiler warnings

Increase Tomcat response timeout for WebSocket tests

https://build.spring.io/browse/INT-B41-349

Increase timeout in the `AsyncMessagingTemplateTests#executionException()`

Fix `ClassCastException` for the `StandardWebSocketClient#userProperties`

Increase Delay to 2 Seconds in DelayHandlerTests

  1. … 3 more files in changeset.

Experimental: Support Gradle --parallel

This should be treated as experimental but with these changes it seems to build ok.

BUILD SUCCESSFUL

Total time: 5 mins 15.533 secs

It turns out that our sporadic Redis problems were fixed in a later version of Jedis.

The problem was that the `connection.subscribe()` exited immediately. When I started adding debug

logic, the problem went away (because I was using a newer versio of Jedis).

spring-data-redis 1.5.2 is updated to work with the 2.7.3 version of Jedis.

Polishing

  1. … 5 more files in changeset.

INT-3611: Support WebSocketHandlerDecoratorFactory

JIRA: https://jira.spring.io/browse/INT-3611

    • -25
    • +37
    /src/reference/asciidoc/web-sockets.adoc
    • -0
    • +6
    /src/reference/asciidoc/whats-new.adoc

INT-3767: Fix JPA Parser for `parameter-source`

JIRA: https://jira.spring.io/browse/INT-3767

The `JpaInboundChannelAdapterParser` has missed to parse `parameter-source`,

as well as the parser test-case has been missed.

In addition fix JPA xsd for wrong type references.

Conflicts:

spring-integration-jpa/src/test/java/org/springframework/integration/jpa/config/xml/JpaInboundChannelAdapterParserTests.xml

resolved.

INT-3767: Fix JPA Parser for `parameter-source`

JIRA: https://jira.spring.io/browse/INT-3767

The `JpaInboundChannelAdapterParser` has missed to parse `parameter-source`,

as well as the parser test-case has been missed.

In addition fix JPA xsd for wrong type references.

Conflicts:

spring-integration-jpa/src/test/java/org/springframework/integration/jpa/config/xml/JpaInboundChannelAdapterParserTests.xml

resolved.

INT-3767: Fix JPA Parser for `parameter-source`

JIRA: https://jira.spring.io/browse/INT-3767

The `JpaInboundChannelAdapterParser` has missed to parse `parameter-source`,

as well as the parser test-case has been missed.

In addition fix JPA xsd for wrong type references.

INT-3767: Fix JPA Parser for `parameter-source`

JIRA: https://jira.spring.io/browse/INT-3767

The `JpaInboundChannelAdapterParser` has missed to parse `parameter-source`,

as well as the parser test-case has been missed.

In addition fix JPA xsd for wrong type references.

Conflicts:

spring-integration-jpa/src/test/java/org/springframework/integration/jpa/config/xml/JpaInboundChannelAdapterParserTests.xml

resolved.

INT-3765: Fix BeanFactory usage from BPP

JIRA: https://jira.spring.io/browse/INT-3765

The `beanFactory.getBeanNamesForType(Class<?> aClass)`

has eager `FactoryBean` loading logic and using it from the `BeanPostProcessor`

may cause an issue with late-binding beans like auto-created `MessageChannel`.

The change that code to the

```

beanFactory.getBeanNamesForType(IntegrationMBeanExporter.class, false, false)

```

to bypass `FactoryBean`s eager initialization.

All other similar usage throughout the project are OK, because they are already outside of any `BPP`

*Cherry-pick to 4.1.x and 4.0.x*

INT-3765: Fix BeanFactory usage from BPP

JIRA: https://jira.spring.io/browse/INT-3765

The `beanFactory.getBeanNamesForType(Class<?> aClass)`

has eager `FactoryBean` loading logic and using it from the `BeanPostProcessor`

may cause an issue with late-binding beans like auto-created `MessageChannel`.

The change that code to the

```

beanFactory.getBeanNamesForType(IntegrationMBeanExporter.class, false, false)

```

to bypass `FactoryBean`s eager initialization.

All other similar usage throughout the project are OK, because they are already outside of any `BPP`

*Cherry-pick to 4.1.x and 4.0.x*

INT-3765: Fix BeanFactory usage from BPP

JIRA: https://jira.spring.io/browse/INT-3765

The `beanFactory.getBeanNamesForType(Class<?> aClass)`

has eager `FactoryBean` loading logic and using it from the `BeanPostProcessor`

may cause an issue with late-binding beans like auto-created `MessageChannel`.

The change that code to the

```

beanFactory.getBeanNamesForType(IntegrationMBeanExporter.class, false, false)

```

to bypass `FactoryBean`s eager initialization.

All other similar usage throughout the project are OK, because they are already outside of any `BPP`

*Cherry-pick to 4.1.x and 4.0.x*

INT-3777: Update Preface Compatibility Info

JIRA: https://jira.spring.io/browse/INT-3777

INT-3777: Reference guide still mentions SI 4.1.x version in the

Requirements paragraph

  • fix Spring Integration references to version 4.2.x of the library in

    the Requirements paragraph

  • increase the Spring Framework minimum requirement to 4.2.0 as declared

    in build.gradle

  • add a space between the Spring library names and versions to improve

    readability

INT-3593: Fix FTP PartialSuccess Tests

JIRA: https://jira.spring.io/browse/INT-3593

Sort the files for the MPUT tests.

INT-2466: Propagate SOAP action from inbound

JIRA: https://jira.spring.io/browse/INT-2466

Current reference documentation says that: "If the incoming web service

message is a SOAP message the SOAP Action header will be added to the

headers of the Message that is forwarded onto the request channel."

However, `DefaultSoapHeaderMapper` was actually missing to do that.

Polishing

INT-3774: Update to Groovy 2.4.4

JIRA: https://jira.spring.io/browse/INT-3774

INT-3774: Update to Groovy 2.4.4

JIRA: https://jira.spring.io/browse/INT-3774

INT-3774: Update Groovy to 2.4.4

JIRA: https://jira.spring.io/browse/INT-3774

INT-3593: (S)FTP OG Partial Updates (mget/mput)

JIRA: https://jira.spring.io/browse/INT-3593

Throw a `PartialSuccessException` if an exception occurs after partial success (some files transferred).

    • -0
    • +9
    /src/reference/asciidoc/whats-new.adoc