JMS Generic Agent Settings

This dialog box enables you to configure the Service Virtualization JMS Generic Agent. The agent handles communication between a client and a real or virtual service.

To access
  1. From the main menu, select Tools > Options.
  2. Click Agents.
  3. Under JMS Generic, select a configuration.
Important information
  • For additional important configuration information, see the task Configure the JMS Generic Agent.
  • There are several instances of the JMS Generic agent pre-configured for connecting to the JMS of common Java application servers.

  • You can define multiple configurations for each agent.
Relevant tasks
See also

User interface elements are described below (unlabeled elements are shown in angle brackets):

UI Element Description
<left pane>

Displays the server configured for your project.

Expand the server to display the available agents and configurations.

Add

Enables you to define additional configurations of the agent.

Delete Deletes the selected configuration.
Duplicate

Creates an additional configuration of the agent by copying the selected configuration. You can then modify the configuration settings.

Note: By default, the configuration is created with a sequential unoccupied port number.

Export

Saves the selected agent configuration as a file. The file is saved in the .agce file format, and can be imported to any Service Virtualization Server.

Export All Exports all agent configurations on the selected server. The file is saved in the .agce file format, and can be imported to any Service Virtualization Server.
Import

Enables you to select an exported agent configuration file stored on the file system. The file is saved in the .agce file format, and can be imported to any Service Virtualization Server.

If the configuration file you are importing contains multiple configurations, you can select which configurations you want to import.

If you choose to import an agent configuration that is identical to a configuration that already exists on your server, you can choose to overwrite your existing configuration, or create a new, additional configuration.

Agent State The current status of the agent. Values include Running, Not Running.
Test Configuration link Tests the configuration based on the settings you select. If Service Virtualization identifies any problems in your configuration, the details are displayed.
Is Enabled Turns the agent on and off.
Name Enter a name for the configuration or accept the default name.
JNDI URL

The URL where the JNDI provider and the JNDI context with JMS resources is located.

Context Factory The provider specific context factory.
Class Path

The class path with all necessary JMS provider specific libraries for JMS implementation.

Note: To ensure maximum compatibility, use the same JMS/J2EE jar libraries for the agent class path that are in use by the client application. If not possible, follow your application server documentation for selection of the correct J2EE/JMS libraries.

Username/Password

Optional credentials for the JNDI provider/registry.

Select Show Password to display the password in this dialog box.

Trust Store File

Enables mutual SSL authentication.

Enter the location of the JMS server's certificate, or certification authority which issued the server's certificate. The certificate must be in a Java key store (.jks) file.

Available for JMS on a WebLogic server only.

Key Store File

Enables mutual SSL authentication.

Enter the location of the single certificate and corresponding private key to use as the client certificate by Service Virtualization during communication. The certificate must be in a Java key store (.jks) file.

Available for JMS on a WebLogic server only.

Examples: