Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This topic provides a reference for configuring SOAtest for popular JMS providers.

Sections include:

Table of Contents
maxLevel1

...

accessKey

secretKey

region

Access key credentials for CLI, SDK, and API access.
serialNumberNumber that uniquely identifies the device if multi-factor authentication (MFA) is enabled. For virtual MFA devices, the serial number is the Amazon resource name (ARN) of the device as shown on the AWS security credentials page.
tokenCodeThe value returned by your MFA device, such as Google Authenticator.
durationSecondsThe value specifying how long the temporary MFA credentials will be valid.

Changing the Consumer Polling Interval

The message consumer for the SQS JMS client uses a default long polling interval of 20 seconds. This means that it can take up to 20 seconds to receive a message from a queue, even if the message shows up before then. The polling interval can be changed with a script. Example (Groovy):

Code Block
languagegroovy
import com.amazon.sqs.javamessaging.SQSMessageConsumerPrefetch

void setMessageConsumerWaitTime() {
    SQSMessageConsumerPrefetch.WAIT_TIME_SECONDS = 1
}

Apache ActiveMQ

Scroll Table Layout
widths30%,70%

...