FIx warnings and add javadoc links

This commit is contained in:
David Syer
2010-07-27 12:54:22 +00:00
parent 829d6efc08
commit 47d209d73a
3 changed files with 8 additions and 8 deletions

View File

@@ -185,6 +185,7 @@
<excludePackageNames>org.springframework.integration.samples</excludePackageNames>
<links>
<link>http://static.springframework.org/spring/docs/3.0.3.RELEASE/javadoc-api</link>
<link>http://static.springsource.org/spring-integration/sites/${project.version}/apidocs</link>
<link>http://java.sun.com/javase/6/docs/api</link>
</links>
</configuration>

View File

@@ -185,6 +185,7 @@ public class GatewayInvokingMessageHandlerTests {
}
@SuppressWarnings("serial")
public static class SampleCheckedException extends Exception {
public SampleCheckedException(String message){
super(message);

View File

@@ -259,14 +259,12 @@ public class ChannelPublishingJmsMessageListener extends AbstractMessagingGatewa
/**
* Determine a reply destination for the given message.
* <p>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 <code>null</code> it is
* returned; if it is <code>null</code>, then the configured
* {@link #resolveDefaultReplyDestination default reply destination}
* is returned; if this too is <code>null</code>, then an
* {@link InvalidDestinationException} is thrown.
* <p>
* 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 <code>null</code> it is returned; if it is <code>null</code>, then the configured
* {@link #resolveDefaultReplyDestination default reply destination} is returned; if this too is <code>null</code>,
* 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 <code>null</code>)