FIx warnings and add javadoc links
This commit is contained in:
1
pom.xml
1
pom.xml
@@ -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>
|
||||
|
||||
@@ -185,6 +185,7 @@ public class GatewayInvokingMessageHandlerTests {
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public static class SampleCheckedException extends Exception {
|
||||
public SampleCheckedException(String message){
|
||||
super(message);
|
||||
|
||||
@@ -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>)
|
||||
|
||||
Reference in New Issue
Block a user