Skip to content

Commit 939e49c

Browse files
committed
Fix argument type in JMS OCA Spec javadoc
1 parent 6ba1982 commit 939e49c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-integration-jms/src/main/java/org/springframework/integration/jms/dsl/JmsOutboundChannelAdapterSpec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public S destination(String destination) {
101101
* which a message will be sent.
102102
* @param destination the destination name.
103103
* @return the current {@link JmsOutboundChannelAdapterSpec}.
104-
* @see JmsSendingMessageHandler#setDestinationExpression(String)
104+
* @see JmsSendingMessageHandler#setDestinationExpression(Expression)
105105
*/
106106
public S destinationExpression(String destination) {
107107
this.target.setDestinationExpression(PARSER.parseExpression(destination));
@@ -119,7 +119,7 @@ public S destinationExpression(String destination) {
119119
* @param destinationFunction the destination function.
120120
* @param <P> the expected payload type.
121121
* @return the current {@link JmsOutboundChannelAdapterSpec}.
122-
* @see JmsSendingMessageHandler#setDestinationExpression(String)
122+
* @see JmsSendingMessageHandler#setDestinationExpression(Expression)
123123
* @see FunctionExpression
124124
*/
125125
public <P> S destination(Function<Message<P>, ?> destinationFunction) {

0 commit comments

Comments
 (0)