INT-2990 Remove System.out in PipelineJmsTests

Polishing: Make logger final; add log of test config;
same change in PipelineNamedReplyQueuesJmsTests; author
credit.
Merge pull request #817 from alighm/INT-2990

* INT-2990:
  INT-2990 Remove System.out in PipelineJmsTests
INT-3086 Update Spring-AMQP to 1.2.0.RELEASE
INT-3083 Update Spring Data Redis to 1.0.5

INT-3080 Invoke RedisTemplate.afterPropertiesSet() when instantiating
programmatically.

INT-3084 Redis channel was incorrectly calling discard() during stop() (a multi-operation).
INT-3084 Fix timing issue in test (NPE)
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-2865: Stored Procedure SqlReturnType support

JIRA: https://jira.springsource.org/browse/INT-2865
Merge pull request #805 from artembilan/INT-2865

* artembilan-INT-2865:
  INT-2865: Stored Procedure SqlReturnType support
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.
Merge pull request #832 from garyrussell/INT-3089

* garyrussell-INT-3089:
  INT-3089 Fix FileExistsMode.IGNORE
Build on top of Spring 4's new messaging types

Spring 4 contains new Message, MessageChannel, MessageHandler, and
SubscribableChannel interfaces, heavily inspired by the interfaces of
the same name in Spring Integration. The corresponding Spring
Integration interfaces have been updated to extend the new Spring
interfaces.

Spring 4 also contains GenericMessage and MessagesHeaders classes. The
corresponding Spring Integration classes have been updated to extend
the new Spring classes.

Spring also contains a static MessageBuilder that's used to build
Message instances. It uses a MessageFactory implementation to control
the concrete Message type that's created by the builder.
DefaultConfiguringBeanFactoryPostProcessor has been updated to inject
a MessageFactory implementation into Spring's MessageBuilder that
creates Spring Integration GenericMessage instances.

The above described changes enable interoperability between Spring's
new messaging infrastructure and existing Spring Integration
infrastructure while also maintaining backwards compatibility in.
Spring Integration.
Fix the tests when running on Spring 4

For a reason I don't yet understand, a call to refresh is now
necessary on a number of tests' application context. It looks like
Spring's behaviour may have changed in Spring 4?

Also, a new getCookies method has been added to HttpMessage in Spring.
This method has been implemented in couple of inner classes in
CookieTests.
Use types that have moved into Spring 4
Cope with parameter name change due to SPR-9985

SPR-9985 means that, by default, parameter names in MBeanInfos will no
longer be named p1, p2, etc but, instead, will use names discovered
in the local variable table. This means that
OperationInvokingMessageHandler's approach of using a Map keyed by
p1, p2, etc no longer works.

OperationInvokingMessageHandler has been updated to instead, use a
Map, looking up the parameters by name, when the message's payload is
a map, and to use a list, looking up the parameters by index, when
the message's payload is a list.
Create and use EiMessageHeaderAccessor

In the move to being part of core Spring, a number of constants and
header accessor methods have moved from MessageHeaders to
MessageHeaderAccessor. This commit continues this pattern for
the enterprise integration headers that are specific to Spring
Integration. A new class, EiMessageHeaderAccessor, has been created.
This class provides constants and methods for working with SI-specific
headers. The main code and tests have been updated to use this new
class.
Prevent Rome from pulling in old version of Xerces

In a recent update (60532cbd), Spring's started calling 
DocumentBuilderFactory.setFeature(). This method isn't implemented by
the version of Xerces that Rome depends upon, resulting in
AbstractMethodErrors being thrown. To overcome this, the Xerces
dependency has been excluded when declaring the dependencies on Rome.
Depend upon spring-messaging

Spring's messaging types have moved from spring-context to
spring-messaging. The project dependencies have been updated to
depend upon spring-messaging.
Further Spring 4 updates.

Depend upon the types in the new spring-messaging module. Requires a
post-M2 snapshot.

The default message converter no longer supports conversion of a
message that is null, throwing an IllegalArgumentException if an
attempt is made to convert null. Furthermore, GenericMessagingTemplate
does not support sending null, again throwing an
IllegalArgumentException. Previously, MessagingTemplate had no-oped an
attempt to send null.

ConcurrentAggregatorTests and AggregatorTests both had a single test
that was specifically testing the behaviour of an aggregator that
returns null for its message. These tests have been removed.

CorrelatingMessageHandlerTests have been updated to specify some
additional behaviour for its mocks so that null messages are not
returned.

These are the only functional changes that have been made. All other
changes are simply for moving to the repackaged and/or renamed types.