Fix JavaDoc of JmsInboundGatewaySpec

Probably a copy/paste error
This commit is contained in:
Duy Dao
2020-08-15 20:11:35 +02:00
committed by GitHub
parent 1bb58c9193
commit 4c11a61c99

View File

@@ -146,18 +146,18 @@ public final class Jms {
}
/**
* The factory to produce a {@link JmsOutboundGatewaySpec}.
* The factory to produce a {@link JmsInboundGatewaySpec}.
* @param listenerContainer the JMS {@link AbstractMessageListenerContainer} to build on
* @return the {@link JmsOutboundGatewaySpec} instance
* @return the {@link JmsInboundGatewaySpec} instance
*/
public static JmsInboundGatewaySpec<?> inboundGateway(AbstractMessageListenerContainer listenerContainer) {
return new JmsInboundGatewaySpec<>(listenerContainer);
}
/**
* The factory to produce a {@link JmsOutboundGatewaySpec}.
* The factory to produce a {@link JmsInboundGatewaySpec}.
* @param connectionFactory the JMS ConnectionFactory to build on
* @return the {@link JmsOutboundGatewaySpec} instance
* @return the {@link JmsInboundGatewaySpec} instance
*/
public static JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<JmsDefaultListenerContainerSpec, DefaultMessageListenerContainer>
inboundGateway(ConnectionFactory connectionFactory) {
@@ -173,12 +173,12 @@ public final class Jms {
}
/**
* The factory to produce a {@link JmsOutboundGatewaySpec}.
* The factory to produce a {@link JmsInboundGatewaySpec}.
* @param connectionFactory the JMS ConnectionFactory to build on
* @param containerClass the {@link AbstractMessageListenerContainer} implementation class
* to instantiate listener container
* @param <C> the {@link AbstractMessageListenerContainer} inheritor type
* @return the {@link JmsOutboundGatewaySpec} instance
* @return the {@link JmsInboundGatewaySpec} instance
*/
@SuppressWarnings({ "rawtypes", "unchecked" })
public static <C extends AbstractMessageListenerContainer>