INT-3035 Fix ExponentialMovingAverageRate 'window'

'window' constructor arg was not used.

Add test.
INT-3031 Fix RMI Remote Failed Message

When a remote flow throws a `MessagingException`, it is unwrapped
and the local `failedMessage` property is the remote failed
message instead of the message that arrived at the outbound
gateway.

Detect a remote MessagingException and wrapt it in a new
MessagingException so the `failedMessage` property is the
original message and the `failedMessage` on the cause is
the remote failed message.
Update Spring Social Twitter version to 1.0.4

(Refactor) Use SearchParameters for searching Twitter

bundlor updates
INT-3053 Allow task-executor on <reply-listener/>

JMS Outbound Gateway did not allow the specification of
a task executor on the <reply-listener/> element.

This could prevent the gateway being used with a
listener in a JEE container.

Allow setting a task-executor.

Add a bean name to the reply listener container so
that a default TE will create suitably named threads.

INT-3053 Polishing

Fix container bean name when the gateway has no
bean name.
fixed missing import
bundlor template cleanup
Update Spring Social Twitter to 1.0.5
INT-3037 Fix JDBC MS Discard After Completion

INT-3037 - commented out sizing component

unit test to support

cleanup

updated commit as per Artem's comments May 29
INT-3056 Update Bundlor Ranges for 2.2.4
[artifactory-release] Next development version
[artifactory-release] Release version 2.2.4.RELEASE
INT-3057 Base for 2.2.5

Set gradle.properties to BUILD-SNAPSHOT

Update bundlor ranges
INT-2620 Fix Race Condition in Failover Tests

Sporadic test failures (fairly consistently on Mac).

Problem was some tests sent a message to a client socket before the
close notification had been received.

Wait for client connection to close rather than waiting for the
server to stop.

Also, with NIO, close the channel on accept exception.

Also improve debugging by including a log of new connections
including the id.
[artifactory-release] Next development version
Conflicts:
	gradle.properties
INT-2721 Increase Timers on JDBC Delayer Tests

Still fail when the build server is under heavy load.
INT-3066 Fix NPE During Connection Recovery

The JmsOutboundGateway's Listener container could throw
an NPE during connection recovery - while logging recovery
status.

The log attempts to include the destination description which
throws the NPE if there is no destination yet established.

Only attempt to get the description if the destination has
been established. And, even then, use a try/catch block
to prevent the NPE. Log the destination as 'null' in this
case.

Add a test case to detect the NPE by adding an ErrorHandlingTaskExecutor.

No errors should be detected with the fix in place.
INT-3089 Fix FileExistsMode.IGNORE

When writing files with this mode setting, the FWMH detected
that the final file already exists, but did not detect that
the temporary (default ....writing) file exists. This could
happen if two adapters were simulataneously processing the same
file.

Also, while a comment in the setter said an empty temp file
suffix is allowed, it did not work because the file rename
is performed unconditionally, fails, and throws an exception.

Add a check for the temporary file (if the suffix is not "").

Don't rename if the file was written in-place (no temp file suffix).

Add test cases for the FileExistsMode.IGNORE for both the final
and temporary files. Add a test where the temporary file suffix
is "", a ...writing file exists, the final file does not exist
and so is created by the handler. The ...writing file is untouched.