Parameters
/// Parameter | Default | Comments
/// |
---|
messageSize | 0 | Message size in bytes. Not including any headers.
/// |
destinationName | ping | The root name to use to generate destination names to ping.
/// |
persistent | false | Determines whether peristent delivery is used.
/// |
transacted | false | Determines whether messages are sent/received in transactions.
/// |
broker | tcp://localhost:5672 | Determines the broker to connect to.
/// |
virtualHost | test | Determines the virtual host to send all ping over.
/// |
rate | 0 | The maximum rate (in hertz) to send messages at. 0 means no limit.
/// |
verbose | false | The verbose flag for debugging. Prints to console on every message.
/// |
pubsub | false | Whether to ping topics or queues. Uses p2p by default.
/// |
username | guest | The username to access the broker with.
/// |
password | guest | The password to access the broker with.
/// |
selector | null | Not used. Defines a message selector to filter pings with.
/// |
destinationCount | 1 | The number of receivers listening to the pings.
/// |
timeout | 30000 | In milliseconds. The timeout to stop waiting for replies.
/// |
commitBatchSize | 1 | The number of messages per transaction in transactional mode.
/// |
uniqueDests | true | Whether each receivers only listens to one ping destination or all.
/// |
durableDests | false | Whether or not durable destinations are used.
/// |
ackMode | AUTO_ACK | The message acknowledgement mode. Possible values are:
/// 0 - SESSION_TRANSACTED
/// 1 - AUTO_ACKNOWLEDGE
/// 2 - CLIENT_ACKNOWLEDGE
/// 3 - DUPS_OK_ACKNOWLEDGE
/// 257 - NO_ACKNOWLEDGE
/// 258 - PRE_ACKNOWLEDGE
/// |
maxPending | 0 | The maximum size in bytes, of messages sent but not yet received.
/// Limits the volume of messages currently buffered on the client
/// or broker. Can help scale test clients by limiting amount of buffered
/// data to avoid out of memory errors.
/// |
///
///