org.apache.qpid.configuration
Class ClientProperties

java.lang.Object
  extended by org.apache.qpid.configuration.ClientProperties

public class ClientProperties
extends Object

This class centralized the Qpid client properties.


Field Summary
static String AMQP_VERSION
           
static long DEFAULT_IDLE_TIMEOUT
           
static String DEST_SYNTAX
          This value will be used to determine the default destination syntax type.
static String HEARTBEAT
           
static int HEARTBEAT_DEFAULT
           
static String IDLE_TIMEOUT_PROP_NAME
          This value will be used in the following settings To calculate the SO_TIMEOUT option of the socket (2*idle_timeout) If this values is between the max and min values specified for heartbeat by the broker in TuneOK it will be used as the heartbeat interval.
static String IGNORE_SET_CLIENTID_PROP_NAME
          Currently with Qpid it is not possible to change the client ID.
static String MAX_PREFETCH_DEFAULT
           
static String MAX_PREFETCH_PROP_NAME
          This property is currently used within the 0.10 code path only The maximum number of pre-fetched messages per destination This property is used for all the connection unless it is overwritten by the connectionURL type: long
static String PROTECTIO_PROP_NAME
          When set to true the io layer throttle down producers and consumers when written or read messages are accumulating and exceeding a certain size.
static String READ_BUFFER_LIMIT_DEFAULT
           
static String READ_BUFFER_LIMIT_PROP_NAME
          Max size of read messages that can be stored within the MINA layer type: int
static String SYNC_ACK_PROP_NAME
          When true a sync command is sent after sending a message ack.
static String SYNC_PERSISTENT_PROP_NAME
          When true a sync command is sent after every persistent messages.
static String SYNC_PUBLISH_PROP_NAME
          sync_publish property - {persistent|all} If set to 'persistent',then persistent messages will be publish synchronously If set to 'all', then all messages regardless of the delivery mode will be published synchronously.
static String USE_LEGACY_MAP_MESSAGE_FORMAT
           
static String WRITE_BUFFER_LIMIT_DEFAULT
           
static String WRITE_BUFFER_LIMIT_PROP_NAME
          Max size of written messages that can be stored within the MINA layer type: int
 
Constructor Summary
ClientProperties()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IGNORE_SET_CLIENTID_PROP_NAME

public static final String IGNORE_SET_CLIENTID_PROP_NAME
Currently with Qpid it is not possible to change the client ID. If one is not specified upon connection construction, an id is generated automatically. Therefore an exception is always thrown unless this property is set to true. type: boolean

See Also:
Constant Field Values

MAX_PREFETCH_PROP_NAME

public static final String MAX_PREFETCH_PROP_NAME
This property is currently used within the 0.10 code path only The maximum number of pre-fetched messages per destination This property is used for all the connection unless it is overwritten by the connectionURL type: long

See Also:
Constant Field Values

MAX_PREFETCH_DEFAULT

public static final String MAX_PREFETCH_DEFAULT
See Also:
Constant Field Values

SYNC_PERSISTENT_PROP_NAME

public static final String SYNC_PERSISTENT_PROP_NAME
When true a sync command is sent after every persistent messages. type: boolean

See Also:
Constant Field Values

SYNC_ACK_PROP_NAME

public static final String SYNC_ACK_PROP_NAME
When true a sync command is sent after sending a message ack. type: boolean

See Also:
Constant Field Values

SYNC_PUBLISH_PROP_NAME

public static final String SYNC_PUBLISH_PROP_NAME
sync_publish property - {persistent|all} If set to 'persistent',then persistent messages will be publish synchronously If set to 'all', then all messages regardless of the delivery mode will be published synchronously.

See Also:
Constant Field Values

IDLE_TIMEOUT_PROP_NAME

public static final String IDLE_TIMEOUT_PROP_NAME
This value will be used in the following settings To calculate the SO_TIMEOUT option of the socket (2*idle_timeout) If this values is between the max and min values specified for heartbeat by the broker in TuneOK it will be used as the heartbeat interval. If not a warning will be printed and the max value specified for heartbeat in TuneOK will be used The default idle timeout is set to 120 secs

See Also:
Constant Field Values

DEFAULT_IDLE_TIMEOUT

public static final long DEFAULT_IDLE_TIMEOUT
See Also:
Constant Field Values

HEARTBEAT

public static final String HEARTBEAT
See Also:
Constant Field Values

HEARTBEAT_DEFAULT

public static final int HEARTBEAT_DEFAULT
See Also:
Constant Field Values

DEST_SYNTAX

public static final String DEST_SYNTAX
This value will be used to determine the default destination syntax type. Currently the two types are Binding URL (java only) and the Addressing format (used by all clients).

See Also:
Constant Field Values

USE_LEGACY_MAP_MESSAGE_FORMAT

public static final String USE_LEGACY_MAP_MESSAGE_FORMAT
See Also:
Constant Field Values

PROTECTIO_PROP_NAME

public static final String PROTECTIO_PROP_NAME
When set to true the io layer throttle down producers and consumers when written or read messages are accumulating and exceeding a certain size. This is especially useful when a the producer rate is greater than the network speed. type: boolean

See Also:
Constant Field Values

READ_BUFFER_LIMIT_PROP_NAME

public static final String READ_BUFFER_LIMIT_PROP_NAME
Max size of read messages that can be stored within the MINA layer type: int

See Also:
Constant Field Values

READ_BUFFER_LIMIT_DEFAULT

public static final String READ_BUFFER_LIMIT_DEFAULT
See Also:
Constant Field Values

WRITE_BUFFER_LIMIT_PROP_NAME

public static final String WRITE_BUFFER_LIMIT_PROP_NAME
Max size of written messages that can be stored within the MINA layer type: int

See Also:
Constant Field Values

WRITE_BUFFER_LIMIT_DEFAULT

public static final String WRITE_BUFFER_LIMIT_DEFAULT
See Also:
Constant Field Values

AMQP_VERSION

public static final String AMQP_VERSION
See Also:
Constant Field Values
Constructor Detail

ClientProperties

public ClientProperties()


Licensed to the Apache Software Foundation