A broker that is configured to use Real-time transport has several properties
that can be changed to affect the behavior of the broker. These properties
are:
- brokerInputQueues
- This property defines how many queues are available to store incoming
messages; the higher the number of queues, the higher the potential rate of
accepting incoming messages by the broker.
The default value is 1.
- brokerInputQueueLength
- This property defines the maximum number of messages that can be stored
in each input queue; the higher the value, the higher the number of input
messages that can be stored in each input queue; however, be aware that the
higher the value of this property, the larger the amount of memory that the
broker requires for each queue.
The default value is 99.
- maxBrokerQueueSize
- This property defines the maximum size of the broker's output queues.
If this maximum is exceeded, the broker deletes all messages queued to that
broker, except the latest message, any high-priority messages, and any response
messages. If this property is set to 0, the broker does not impose any limit
on the number of bytes that can be queued to another broker.
The default
value is 1000000 bytes.
- brokerPingInterval
- This property defines the time in milliseconds between broker-initiated
ping messages on broker-broker connections. Ping messages are used to confirm
that communications are still open between both sides of the connection. If
the value is 0, no ping messages are sent by the broker.
The default
value is 5000 milliseconds.
- maxMessageSize
- This property defines the maximum size of message that can be received
by the broker. If the broker receives a message that is bigger than this,
the broker disconnects the client that sent the message.
The default value
is 100000 bytes.
Use the mqsichangeproperties command
to define new values for these properties if you don't want to use the default
values.