public final class ReceiveChannelConfig extends LargeMessageConfig
LargeMessageConsumer
.In the adapter configuration file this class is aliased as sonic-receive-channel-config which is the preferred alternative to the fully qualified classname when building your configuration.
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BLOCK_SIZE_KB
The default block size.
|
BYTES_IN_A_KILOBYTE, DEFAULT_CHANNEL_TIMEOUT, DEFAULT_MONITOR_TIMEOUT_MS, DEFAULT_RETRY_COUNT, DEFAULT_RETRY_INTERVAL, log
Constructor and Description |
---|
ReceiveChannelConfig()
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyConfiguration(progress.message.jclient.Channel channel) |
protected int |
blockSizeKilobytes() |
java.lang.Integer |
getBlockSizeKilobytes()
Set the underlying block size for a RecoverableFileChannel
|
java.util.List<MetadataConverter> |
metadataConverters() |
void |
setBlockSizeKilobytes(java.lang.Integer blockSize) |
applyBaseConfiguration, channelTimeout, getChannelTimeout, getLocalStoreDirectory, getMetadataFilter, getMonitorTimeoutMs, getMoveJmsHeaders, getReportAllErrors, getRetryCount, getRetryInterval, logChannelInfo, metadataFilter, monitorTimeoutMs, moveJmsHeaders, reportAllErrors, retryCount, retryInterval, setChannelTimeout, setMetadataFilter, setMonitorTimeoutMs, setMoveJmsHeaders, setReportAllErrors, setRetryCount, setRetryInterval, verify
public static final int DEFAULT_BLOCK_SIZE_KB
protected void applyConfiguration(progress.message.jclient.Channel channel) throws javax.jms.JMSException
applyConfiguration
in class LargeMessageConfig
javax.jms.JMSException
public java.lang.Integer getBlockSizeKilobytes()
RecoverableFileChannel.setBlockSize(int)
public void setBlockSizeKilobytes(java.lang.Integer blockSize)
blockSize
- the block syze in kilobytesprotected int blockSizeKilobytes()
public java.util.List<MetadataConverter> metadataConverters()