diff --git a/pom.xml b/pom.xml
index d9a9b5f4ae..3102a05c8f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -185,6 +185,7 @@
org.springframework.integration.samples
http://static.springframework.org/spring/docs/3.0.3.RELEASE/javadoc-api
+ http://static.springsource.org/spring-integration/sites/${project.version}/apidocs
http://java.sun.com/javase/6/docs/api
diff --git a/spring-integration-core/src/test/java/org/springframework/integration/gateway/GatewayInvokingMessageHandlerTests.java b/spring-integration-core/src/test/java/org/springframework/integration/gateway/GatewayInvokingMessageHandlerTests.java
index c1863cd2d4..ac04a30351 100644
--- a/spring-integration-core/src/test/java/org/springframework/integration/gateway/GatewayInvokingMessageHandlerTests.java
+++ b/spring-integration-core/src/test/java/org/springframework/integration/gateway/GatewayInvokingMessageHandlerTests.java
@@ -185,6 +185,7 @@ public class GatewayInvokingMessageHandlerTests {
}
+ @SuppressWarnings("serial")
public static class SampleCheckedException extends Exception {
public SampleCheckedException(String message){
super(message);
diff --git a/spring-integration-jms/src/main/java/org/springframework/integration/jms/ChannelPublishingJmsMessageListener.java b/spring-integration-jms/src/main/java/org/springframework/integration/jms/ChannelPublishingJmsMessageListener.java
index 9b59e4ce54..9b8466b22f 100644
--- a/spring-integration-jms/src/main/java/org/springframework/integration/jms/ChannelPublishingJmsMessageListener.java
+++ b/spring-integration-jms/src/main/java/org/springframework/integration/jms/ChannelPublishingJmsMessageListener.java
@@ -259,14 +259,12 @@ public class ChannelPublishingJmsMessageListener extends AbstractMessagingGatewa
/**
* Determine a reply destination for the given message.
- *
This implementation first checks the boolean 'error' flag which signifies that the reply is an error message.
- * If it is it will attempt to get the destination value from {@link JmsHeaders#SEND_ERROR_TO}.
- * If reply is not an error it will first check the JMS Reply-To {@link Destination}
- * of the supplied request message; if that is not null it is
- * returned; if it is null, then the configured
- * {@link #resolveDefaultReplyDestination default reply destination}
- * is returned; if this too is null, then an
- * {@link InvalidDestinationException} is thrown.
+ *
+ * This implementation first checks the boolean 'error' flag which signifies that the reply is an error message. If
+ * reply is not an error it will first check the JMS Reply-To {@link Destination} of the supplied request message;
+ * if that is not null it is returned; if it is null, then the configured
+ * {@link #resolveDefaultReplyDestination default reply destination} is returned; if this too is null,
+ * then an {@link InvalidDestinationException} is thrown.
* @param request the original incoming JMS message
* @param session the JMS Session to operate on
* @return the reply destination (never null)