Configure the JMS Generic Agent

Supported for: Windows

This task describes how to configure the Service Virtualization Generic JMS agent.

The Generic JMS Agent serves to virtualize JMS communication in any JMS provider (IBM® WebSphere® MQ, Weblogic, JBoss, ...). It uses general JMS API and JNDI to lookup and work with JMS resources (context factories, connection factories, queues, topics). It loads Java JVM (Java Virtual Machine) with JMS provider libraries required for JMS communication in process.

Note: The Generic JMS Agent only supports JMS BytesMessage and TextMessage according to the SOAP over JMS specifications.

To configure the Generic JMS agent:

  1. Prerequisites

    The Generic JMS Agent uses a standard JMS API with JNDI lookups. You must first configure an environment with JMS resources.

    1. Configure JMS. Create virtual destination(s) in JMS server (Webpshere MQ, Weblogic, JBoss, …)

      1. Create a Virtual Request destination.
      2. If you want to use a permanent ReplyTo destination, create a Virtual Reply destination. If not, a temporary ReplyTo destination is used.
    2. Configure JNDI. Configure JNDI mapping for virtual destinations enable the agent to lookup destinations in JNDI.

      1. Configure mapping for the Virtual Request destination.
      2. If a permanent ReplyTo destination is used, configure mapping for the Virtual Reply destination.
  2. Configure the agent settings

    From the main menu, select Tools > Options. On the Agents Page, select JMS. For user interface details, see the JMS Generic Agent Settings.