mirror of
https://github.com/apache/activemq.git
synced 2025-02-13 13:36:07 +00:00
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.0@440543 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
de62efbc78
commit
861a08912b
@ -567,7 +567,7 @@ final public class OpenWireFormat implements WireFormat {
|
||||
if( preferedWireFormatInfo==null )
|
||||
throw new IllegalStateException("Wireformat cannot not be renegociated.");
|
||||
|
||||
this.setVersion(Math.max(preferedWireFormatInfo.getVersion(), info.getVersion()) );
|
||||
this.setVersion(Math.min(preferedWireFormatInfo.getVersion(), info.getVersion()) );
|
||||
this.stackTraceEnabled = info.isStackTraceEnabled() && preferedWireFormatInfo.isStackTraceEnabled();
|
||||
this.tcpNoDelayEnabled = info.isTcpNoDelayEnabled() && preferedWireFormatInfo.isTcpNoDelayEnabled();
|
||||
this.cacheEnabled = info.isCacheEnabled() && preferedWireFormatInfo.isCacheEnabled();
|
||||
|
Loading…
x
Reference in New Issue
Block a user