Skip to content

Commit aa1babd

Browse files
committed
Fixed setDeliveryPersistent javadoc
Issue: SPR-3983 (cherry picked from commit 9cc86a3)
1 parent 09c9137 commit aa1babd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-jms/src/main/java/org/springframework/jms/core/JmsTemplate.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2013 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -350,8 +350,8 @@ public boolean isExplicitQosEnabled() {
350350
/**
351351
* Set whether message delivery should be persistent or non-persistent,
352352
* specified as boolean value ("true" or "false"). This will set the delivery
353-
* mode accordingly, to either "PERSISTENT" (1) or "NON_PERSISTENT" (2).
354-
* <p>Default it "true" aka delivery mode "PERSISTENT".
353+
* mode accordingly, to either "PERSISTENT" (2) or "NON_PERSISTENT" (1).
354+
* <p>Default is "true" a.k.a. delivery mode "PERSISTENT".
355355
* @see #setDeliveryMode(int)
356356
* @see javax.jms.DeliveryMode#PERSISTENT
357357
* @see javax.jms.DeliveryMode#NON_PERSISTENT
@@ -362,7 +362,7 @@ public void setDeliveryPersistent(boolean deliveryPersistent) {
362362

363363
/**
364364
* Set the delivery mode to use when sending a message.
365-
* Default is the Message default: "PERSISTENT".
365+
* Default is the JMS Message default: "PERSISTENT".
366366
* <p>Since a default value may be defined administratively,
367367
* this is only used when "isExplicitQosEnabled" equals "true".
368368
* @param deliveryMode the delivery mode to use

0 commit comments

Comments
 (0)