/[Apache-SVN]
ViewVC logotype

Revision 1186813


Jump to revision: Previous Next
Author: gtully
Date: Thu Oct 20 13:56:17 2011 UTC (13 years ago)
Changed paths: 3
Log Message:
https://issues.apache.org/jira/browse/AMQ-3331 - apply variant of patch with thanks.
Added boolean attribute, alwaysSyncSend to the network connector. This allows the
behaviour for persistent messages to be applied to non-persistent messages.
It does not make sense to have an alwaysAsync mode as this could lead to lost
persistent messages.
Also, I agree with the assment of the use of the responseRequired flag, it should
be based on the persistence attribute of the message, which it is now.
This is vital such that messages sent in transactions are not sent async.
Thanks for the great test case, made life easier.

Changed paths

Path Details
Directoryactivemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridgeSupport.java modified , text changed
Directoryactivemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/NetworkBridgeConfiguration.java modified , text changed
Directoryactivemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/NetworkBridgeProducerFlowControlTest.java added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26