Repository: qpid-jms Updated Branches: refs/heads/master a63095195 -> c01017002
QPIDJMS-171 Remove deprecated configuration options Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/c0101700 Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/c0101700 Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/c0101700 Branch: refs/heads/master Commit: c010170022299701294127d455e962d5aa5149dc Parents: a630951 Author: Timothy Bish <[email protected]> Authored: Fri Apr 8 15:06:49 2016 -0400 Committer: Timothy Bish <[email protected]> Committed: Fri Apr 8 15:06:49 2016 -0400 ---------------------------------------------------------------------- .../apache/qpid/jms/JmsConnectionFactory.java | 53 -------------------- qpid-jms-docs/Configuration.md | 2 - 2 files changed, 55 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/c0101700/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java ---------------------------------------------------------------------- diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java index bff10cc..087f18d 100644 --- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java +++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java @@ -610,33 +610,6 @@ public class JmsConnectionFactory extends JNDIStorable implements ConnectionFact } /** - * Returns true if the client should always send messages using a synchronous - * send operation regardless of persistence mode, or inside a transaction. - * - * @return true if sends should always be done synchronously. - * - * @deprecated As of release 0.7.0, replaced by {@link #isForceSyncSend()} - */ - @Deprecated - public boolean isAlwaysSyncSend() { - return forceSyncSend; - } - - /** - * Configures whether or not the client will always send messages synchronously or not - * regardless of other factors that might result in an asynchronous send. - * - * @param alwaysSyncSend - * if true sends are always done synchronously. - * - * @deprecated As of release 0.7.0, replaced by {@link #setForceSyncSend(boolean)} - */ - @Deprecated - public void setAlwaysSyncSend(boolean alwaysSyncSend) { - this.forceSyncSend = alwaysSyncSend; - } - - /** * @return true if consumer acknowledgments are sent asynchronously or not. */ public boolean isForceAsyncAcks() { @@ -657,32 +630,6 @@ public class JmsConnectionFactory extends JNDIStorable implements ConnectionFact } /** - * @return true if consumer acknowledgments are sent asynchronously or not. - * - * @deprecated As of release 0.7.0, replaced by {@link #isForceAsyncAcks()} - */ - @Deprecated - public boolean isSendAcksAsync() { - return forceAsyncAcks; - } - - /** - * Should the message acknowledgments from a consumer be sent synchronously or - * asynchronously. Sending the acknowledgments asynchronously can increase the - * performance of a consumer but opens up the possibility of a missed message - * acknowledge should the connection be unstable. - * - * @param sendAcksAsync - * true to have the client send all message acknowledgments asynchronously. - * - * @deprecated As of release 0.7.0, replaced by {@link #setForceAsyncAcks(boolean)} - */ - @Deprecated - public void setSendAcksAsync(boolean sendAcksAsync) { - this.forceAsyncAcks = sendAcksAsync; - } - - /** * @return true if MessageConsumer instance will check for expired messages locally before dispatch. */ public boolean isLocalMessageExpiry() { http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/c0101700/qpid-jms-docs/Configuration.md ---------------------------------------------------------------------- diff --git a/qpid-jms-docs/Configuration.md b/qpid-jms-docs/Configuration.md index ccc6863..c3e96d5 100644 --- a/qpid-jms-docs/Configuration.md +++ b/qpid-jms-docs/Configuration.md @@ -84,8 +84,6 @@ The options apply to the behaviour of the JMS objects such as Connection, Sessio + **jms.forceAsyncSend** Configures whether all Messages sent from a MessageProducer are sent asynchronously or only those Message that qualify such as Messages inside a transaction or non-persistent messages. + **jms.forceSyncSend** Override all asynchronous send conditions and always sends every Message from a MessageProducer synchronously. + **jms.forceAsyncAcks** Causes all Message acknowledgments to be sent asynchronously. -+ **jms.alwaysSyncSend** Override all asynchronous send conditions and always sends every Message from a MessageProducer synchronously. **This option is deprecated in 0.7.0 and will be removed in a future release.** -+ **jms.sendAcksAsync** Causes all Message acknowledgments to be sent asynchronously. **This option is deprecated in 0.7.0 and will be removed in a future release.** + **jms.localMessageExpiry** Controls whether MessageConsumer instances will locally filter expired Messages or deliver them. By default this value is set to true and expired messages will be filtered. + **jms.localMessagePriority** If enabled prefetched messages are reordered locally based on their given Message priority value. Default is false. + **jms.validatePropertyNames** If message property names should be validated as valid Java identifiers. Default is true. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
