public final class SendChannelConfig extends LargeMessageConfig
LargeMessageProducer
.In the adapter configuration file this class is aliased as sonic-send-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_FRAGMENT_SIZE_KB
The default fragment size.
|
static int |
DEFAULT_TTL
The default TTL for the initial message used to open the channel.
|
static int |
DEFAULT_WINDOW_SIZE
The default window size.
|
BYTES_IN_A_KILOBYTE, DEFAULT_CHANNEL_TIMEOUT, DEFAULT_MONITOR_TIMEOUT_MS, DEFAULT_RETRY_COUNT, DEFAULT_RETRY_INTERVAL, log
Constructor and Description |
---|
SendChannelConfig()
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyConfiguration(progress.message.jclient.Channel channel) |
protected int |
fragmentSizeKilobytes() |
java.lang.Integer |
getFragmentSizeKilobytes() |
java.util.List<MetadataConverter> |
getMetadataConverters() |
java.lang.Integer |
getTimeToLive() |
java.lang.Integer |
getWindowSize() |
java.util.List<MetadataConverter> |
metadataConverters() |
void |
setFragmentSizeKilobytes(java.lang.Integer fragmentSize)
Specify the fragment size in bytes.
|
void |
setMetadataConverters(java.util.List<MetadataConverter> mv)
Set the list of metadata converters to uses when converting from AdaptrisMessage to JMS Message.
|
void |
setTimeToLive(java.lang.Integer ttl)
Specify the initial time to live for the header message that is sent to the receiver.
|
void |
setWindowSize(java.lang.Integer i)
Set the number of fragments to send before blocking for an acknowledgement.
|
protected int |
timeToLive() |
protected int |
windowSize() |
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_WINDOW_SIZE
public static final int DEFAULT_FRAGMENT_SIZE_KB
public static final int DEFAULT_TTL
protected void applyConfiguration(progress.message.jclient.Channel channel) throws javax.jms.JMSException
applyConfiguration
in class LargeMessageConfig
javax.jms.JMSException
public java.lang.Integer getWindowSize()
public void setWindowSize(java.lang.Integer i)
i
- the windowSize to setChannel.setWindowSize(int)
protected int windowSize()
public java.lang.Integer getFragmentSizeKilobytes()
public void setFragmentSizeKilobytes(java.lang.Integer fragmentSize)
fragmentSize
- the fragment size in kilobytesChannel.setFragmentSize(int)
protected int fragmentSizeKilobytes()
public java.lang.Integer getTimeToLive()
public void setTimeToLive(java.lang.Integer ttl)
ttl
- the timeToLive to setprotected int timeToLive()
public java.util.List<MetadataConverter> metadataConverters()
public java.util.List<MetadataConverter> getMetadataConverters()
public void setMetadataConverters(java.util.List<MetadataConverter> mv)
mc
- list of message convertersCopyright Adaptris