Package org.apache.activemq.openwire
Class OpenWireFormatFactory
- java.lang.Object
-
- org.apache.activemq.openwire.OpenWireFormatFactory
-
- All Implemented Interfaces:
WireFormatFactory
public class OpenWireFormatFactory extends Object implements WireFormatFactory
-
-
Constructor Summary
Constructors Constructor Description OpenWireFormatFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WireFormat
createWireFormat()
int
getCacheSize()
String
getHost()
long
getMaxFrameSize()
long
getMaxInactivityDuration()
long
getMaxInactivityDurationInitalDelay()
String
getPlatformDetails()
String
getProviderName()
String
getProviderVersion()
int
getVersion()
boolean
isCacheEnabled()
boolean
isIncludePlatformDetails()
boolean
isMaxFrameSizeEnabled()
boolean
isSizePrefixDisabled()
boolean
isStackTraceEnabled()
boolean
isTcpNoDelayEnabled()
boolean
isTightEncodingEnabled()
void
setCacheEnabled(boolean cacheEnabled)
void
setCacheSize(int cacheSize)
void
setHost(String host)
void
setIncludePlatformDetails(boolean includePlatformDetails)
void
setMaxFrameSize(long maxFrameSize)
void
setMaxFrameSizeEnabled(boolean maxFrameSizeEnabled)
Set whether the maxFrameSize check will be enabled.void
setMaxInactivityDuration(long maxInactivityDuration)
void
setMaxInactivityDurationInitalDelay(long maxInactivityDurationInitalDelay)
void
setPlatformDetails(String platformDetails)
void
setProviderName(String providerName)
void
setProviderVersion(String providerVersion)
void
setSizePrefixDisabled(boolean sizePrefixDisabled)
void
setStackTraceEnabled(boolean stackTraceEnabled)
void
setTcpNoDelayEnabled(boolean tcpNoDelayEnabled)
void
setTightEncodingEnabled(boolean tightEncodingEnabled)
void
setVersion(int version)
-
-
-
Method Detail
-
createWireFormat
public WireFormat createWireFormat()
- Specified by:
createWireFormat
in interfaceWireFormatFactory
-
isStackTraceEnabled
public boolean isStackTraceEnabled()
-
setStackTraceEnabled
public void setStackTraceEnabled(boolean stackTraceEnabled)
-
isTcpNoDelayEnabled
public boolean isTcpNoDelayEnabled()
-
setTcpNoDelayEnabled
public void setTcpNoDelayEnabled(boolean tcpNoDelayEnabled)
-
getVersion
public int getVersion()
-
setVersion
public void setVersion(int version)
-
isCacheEnabled
public boolean isCacheEnabled()
-
setCacheEnabled
public void setCacheEnabled(boolean cacheEnabled)
-
isTightEncodingEnabled
public boolean isTightEncodingEnabled()
-
setTightEncodingEnabled
public void setTightEncodingEnabled(boolean tightEncodingEnabled)
-
isSizePrefixDisabled
public boolean isSizePrefixDisabled()
-
setSizePrefixDisabled
public void setSizePrefixDisabled(boolean sizePrefixDisabled)
-
getMaxInactivityDuration
public long getMaxInactivityDuration()
-
setMaxInactivityDuration
public void setMaxInactivityDuration(long maxInactivityDuration)
-
getCacheSize
public int getCacheSize()
-
setCacheSize
public void setCacheSize(int cacheSize)
-
getMaxInactivityDurationInitalDelay
public long getMaxInactivityDurationInitalDelay()
-
setMaxInactivityDurationInitalDelay
public void setMaxInactivityDurationInitalDelay(long maxInactivityDurationInitalDelay)
-
getMaxFrameSize
public long getMaxFrameSize()
-
setMaxFrameSize
public void setMaxFrameSize(long maxFrameSize)
-
getHost
public String getHost()
-
setHost
public void setHost(String host)
-
getProviderName
public String getProviderName()
-
setProviderName
public void setProviderName(String providerName)
-
getProviderVersion
public String getProviderVersion()
-
setProviderVersion
public void setProviderVersion(String providerVersion)
-
getPlatformDetails
public String getPlatformDetails()
-
setPlatformDetails
public void setPlatformDetails(String platformDetails)
-
isIncludePlatformDetails
public boolean isIncludePlatformDetails()
-
setIncludePlatformDetails
public void setIncludePlatformDetails(boolean includePlatformDetails)
-
setMaxFrameSizeEnabled
public void setMaxFrameSizeEnabled(boolean maxFrameSizeEnabled)
Set whether the maxFrameSize check will be enabled. Note this is only applied to this factory and will NOT be negotiated- Parameters:
maxFrameSizeEnabled
-
-
isMaxFrameSizeEnabled
public boolean isMaxFrameSizeEnabled()
-
-