diff --git a/spring-jms/src/main/java/org/springframework/jms/core/JmsClient.java b/spring-jms/src/main/java/org/springframework/jms/core/JmsClient.java index 736380d21179..1c71e9f1a7d6 100644 --- a/spring-jms/src/main/java/org/springframework/jms/core/JmsClient.java +++ b/spring-jms/src/main/java/org/springframework/jms/core/JmsClient.java @@ -82,7 +82,7 @@ static JmsClient create(ConnectionFactory connectionFactory, MessageConverter me } /** - * Create a new {@code JmsClient} for the given {@link ConnectionFactory}. + * Create a new {@code JmsClient} for the given {@link JmsOperations}. * @param jmsTemplate the {@link JmsTemplate} to use for performing operations * (can be a custom {@link JmsOperations} implementation as well) */ @@ -91,7 +91,7 @@ static JmsClient create(JmsOperations jmsTemplate) { } /** - * Create a new {@code JmsClient} for the given {@link ConnectionFactory}. + * Create a new {@code JmsClient} for the given {@link JmsOperations}. * @param jmsTemplate the {@link JmsTemplate} to use for performing operations * (can be a custom {@link JmsOperations} implementation as well) * @param messageConverter the message converter for payload objects