Switch branches/tags
Commits on Jan 19, 2018
  1. Revert "INT-4366: Fix MulticastSendingMH

    garyrussell committed Jan 19, 2018
    This reverts commit c3b64dc.
  2. Shutdown test executors in -core

    garyrussell committed with artembilan Jan 18, 2018
    - don't use `ExecutorService` as `@Bean` - spring can't stop them
    - also add log adjuster for ftp test that sometimes fails
Commits on Jan 18, 2018
  1. More JMS Test speed improvements

    garyrussell committed with artembilan Jan 18, 2018
    - reduce timeouts for tests that expect to time out
    - reduce iterations
  2. INT-4379: JMS OG Shutdown reply container on stop

    garyrussell committed Jan 18, 2018
    - shutdown the container when the gateway is stopped
    Also, improve test suite
    - at the end of the tests, hundreds of threads are running, some caused by the above
      but others because `TaskExecutor`s are not shut down
    - reduce the number of iterations in the JMS pipeline tests to speed things up
    - change more tests to extend `ActiveMQMultiContextTests`, to keep a single broker up
    __cherry-pick to 4.3.x__ (perhaps just the gateway fix)
Commits on Jan 16, 2018
  1. Minor Fixes

    garyrussell committed with artembilan Jan 16, 2018
    - use passive mode for FTP tests
    (active fails on one of my machines for some reason)
    * Fix generic args instead of `@SuppressWarnings("rawtypes")`
  2. INT-4378: TCP Fix CF Name in Intercepted Events

    garyrussell committed with artembilan Jan 14, 2018
    Events (e.g. `TcpConnectionOpenEvent` from intercepted connections contain an
    'unknown' connection factory name.
    Delegate to the underlying connection's factory name.
Commits on Jan 11, 2018
Commits on Jan 5, 2018
  1. DSL: Polishing AMQP ICA Spec

    garyrussell committed with artembilan Jan 5, 2018
    Also add `messageHeaders()` to `MessageSourceSpec`.
Commits on Jan 4, 2018
  1. INT-4371: Add MessageSource Acknowlegment support

    garyrussell committed with artembilan Dec 26, 2017
    Add an abstract message source that populates the message with a header containing
    an abstraction that allows the application to acknowledge/reject/requeue the message.
    (In amqp, for example, this would map to channel.basicAck(tag),
    channel.basicReject(tag, false), and channel.basicReject(tag, true).
    With some brokers (such as kafka), acknowledge and reject might be equivalent
    since there is no automatic DLQ processing in kafka both would simply commit the offset.
    Also include a strategy interface for a factory to provide the acknowledgment header.
    Add MessageSourcePollableChannel
    Fix typo
    Polishing - PR Comments
    - remove marker interface; just use presence of the header for auto-ack
    - remove the MessageSourcePollableChannel - users can use a MethodInterceptor to enhance the message
    - other PR comments
    Save entire response to allow customization of the ack/nack actions.
    Docs, Copyrights; add MessageSourcePollingTemplate
    Polishing - PR Comments - support disabling auto-ack, when possible.
    More Utilities
    * Simple code style polishing
  2. INT-4374: TCP Fix elastic raw deserializer

    garyrussell committed with artembilan Jan 4, 2018
    Detect end of stream to prevent emitting an empty byte[] payload.
Commits on Jan 2, 2018
  1. INT-4369: Add DeliveryAttempt header

    garyrussell committed with artembilan Jan 2, 2018
    Also add `StaticMessageHeaderAccessor`
    - avoids object creation when getting type-safe well-known headers.
    * Docs
  2. Doc Copyright 2018

    garyrussell committed Jan 2, 2018
  3. GH-2313: IdempotentReceiver Discard Channel Name

    garyrussell committed with artembilan Dec 28, 2017
    Resolves: #2313
    Allow configuration of the discard channel by name.
    Refactor the interceptor to extend `IntegrationObjectSupport` and use
    a channel resolver, if necessary.
    * Polishing
  4. Add Github Issue and PR templates

    garyrussell committed with artembilan Jan 2, 2018
    * Polishing - PR Comments
Commits on Dec 28, 2017
  1. Add UDP Test Diagnostics

    garyrussell committed Dec 28, 2017
Commits on Dec 27, 2017
Commits on Dec 19, 2017
  1. INT-4368: Twitter - move init to start()

    garyrussell committed with artembilan Dec 19, 2017
    Test fails if redis not available.
    Also fix synchronization of `lastEnqueuedId`.
Commits on Nov 15, 2017
  1. INT-4363: Configurable MessageHandlerMethodFactory

    garyrussell committed with artembilan Nov 14, 2017
    The JIRA requests making the `MessageHandlerMethodFactory` a bean.
    This is not possible without a major rework of the `MessagingMethodInvokerHelper`.
    The problem is that the `InvokerHandlerMethod` s are created before the factory
    is initialized. In fact, it only works at all since the IHMs have a hard reference
    to the factory's argument resolvers so, when they are initialized in `initialize()`
    each handler sees the resolvers.
    This really needs to be improved but, since we are so close to GA, the compromise
    was to add a `HandlerMethodArgumentResolversHolder` which holds the standard resolvers
    which are then wired into the factory (along with the message converter).
    Delaying the creation of the `InvokerHandlerMethod` is not trivial; today they are
    built in the CTOR; moving it to `initialize()` would prevent the fast failure for
    a badly configured bean; the proper solution might be to make the MMIHs beans themselves.
    Polishing - PR Comments
Commits on Nov 13, 2017
  1. INT-4362: MMIH Catch Conversion Exception

    garyrussell committed with artembilan Nov 13, 2017
    INT-4312 added a JSON conversion when there is a single method with a non-String parameter.
    Add more tests for parameters of type `Message`.
    Catch conversion exceptions and use the message as-is if the conversion fails.
  2. INT-4364 Deprecate SocketUtils and remove all use

    garyrussell committed with artembilan Nov 13, 2017
    Always let the OS choose the ports for tests.
    Just one test remains (RMI) because there appears to be no way to obtain
    the port after creating a registry with a 0 port.
    This test has been switched to use the Spring utility.
    Polishing - PR Comments
Commits on Oct 30, 2017
  1. INT-4279: Document UDP Java Configuration

    garyrussell committed with artembilan Oct 30, 2017
    Add documentation for Java configuration of UDP channel adapters.
    Enhance DSL to support host/port for outbound adapters.
Commits on Sep 26, 2017
Commits on Sep 25, 2017
  1. Upgrade to Reactor GA

    garyrussell committed Sep 25, 2017
  2. Fix HTTP For Latest Spring Framework

    garyrussell committed Sep 25, 2017
    Fix mock for request.getRawStatusCode()
    Also excluded transitive SF dependencies from spring-security.
Commits on Sep 14, 2017
  1. INT-4312: MessagingMethodInvokerHelper Convert

    garyrussell committed with artembilan Sep 14, 2017
    If there is a single eligible method, the message content is JSON
    and the method parameter doesn't match the payload, perform JSON
    conversion if there is an ObjectMapper available.
  2. Version Updates for M7

    garyrussell committed Sep 14, 2017
Commits on Sep 11, 2017
Commits on Sep 8, 2017
  1. INT-4255: JSON Embedded Headers Message Mapper

    garyrussell committed with artembilan May 21, 2017
    - Support embedding headers for transports that don't support headers (TCP, Kafka, etc)
    - Use the new message-aware Jackson ObjectMapper
    - Provide a mechanism to more efficiently support byte[] payloads (avoid Base64 encoding)
    - Support decoding "legacy" SCSt embedded headers
    Polishing; PR Comments - Add Support to MQTT and TCP
    Switch to simple patterns instead of regex
    * Fix JavaDoc typo
    * Upgrade to Jackson 2.9.1
  2. INT-4342: White List for Payload Deserializer

    garyrussell committed with artembilan Sep 8, 2017
    Use similar code to Spring AMQP to add white list support for Integration's
    use of the `DeserializingMessageConverter`; introduce the `WhiteListDeserializingMessageConverter`.
    Missed this change in PR.
    Fix XSD attribute
Commits on Sep 1, 2017
  1. INT-4333: Don't Override Explicit Management Props

    garyrussell committed with artembilan Sep 1, 2017
    If the user has explicitly set management properties in a bean definition,
    the configurer should not override those settings with defaults.
  2. INT-4336: Fix NPE in IntegrationGraphServer

    garyrussell committed with artembilan Sep 1, 2017
    Don't add "hidden" unreachable methods to the map in the `GatewayProxyFactoryBean`.
    The methods can never be executed and may not have all expected properties; they
    should not appear in the graph at all since they are unreachable.
    Also add defensive coding to the `IntegrationGraphServer` to avoid NPEs when unexpected
    conditions arise.
Commits on Aug 23, 2017