1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2013 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -350,8 +350,8 @@ public boolean isExplicitQosEnabled() {
350
350
/**
351
351
* Set whether message delivery should be persistent or non-persistent,
352
352
* 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".
355
355
* @see #setDeliveryMode(int)
356
356
* @see javax.jms.DeliveryMode#PERSISTENT
357
357
* @see javax.jms.DeliveryMode#NON_PERSISTENT
@@ -362,7 +362,7 @@ public void setDeliveryPersistent(boolean deliveryPersistent) {
362
362
363
363
/**
364
364
* 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".
366
366
* <p>Since a default value may be defined administratively,
367
367
* this is only used when "isExplicitQosEnabled" equals "true".
368
368
* @param deliveryMode the delivery mode to use
0 commit comments