mirror of
https://github.com/apache/activemq.git
synced 2025-02-10 12:06:05 +00:00
resolve failure of UdpSendReceiveWithTwoConnectionsAndLargeMessagesTest and UdpSendReceiveWithTwoConnectionsTest, regression from https://issues.apache.org/jira/browse/AMQ-3383, additional wire member shows problem with wireformat copy. relates to https://issues.apache.org/jira/browse/AMQ-3236 - separate versioning of openwire for store and wire
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1142630 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c8be8aa387
commit
3cce6b7cbb
@ -81,8 +81,7 @@ public final class OpenWireFormat implements WireFormat {
|
||||
}
|
||||
|
||||
public OpenWireFormat copy() {
|
||||
OpenWireFormat answer = new OpenWireFormat();
|
||||
answer.version = version;
|
||||
OpenWireFormat answer = new OpenWireFormat(version);
|
||||
answer.stackTraceEnabled = stackTraceEnabled;
|
||||
answer.tcpNoDelayEnabled = tcpNoDelayEnabled;
|
||||
answer.cacheEnabled = cacheEnabled;
|
||||
|
Loading…
x
Reference in New Issue
Block a user