Specifying the Type of Event Queue

To specify whether the event queue is persistent or nonpersistent:

  1. Create a folder for the VTA on a host.
    mkdir vta
  2. Copy the EAR file for the VTA from the archive file to the folder that you created in Step 1.
  3. From the EAR file, extract the file vtacore.jar into the folder you created.
    cd vta
    jar xvf quotavta.ear vtacore.jar
  4. From the file vtacore.jar, extract the file META-INF/ejb-jar.xml.
    jar xvf vtacore.jar META-INF/ejb-jar.xml
  5. In the folder that you created in Step 1, edit the META-INF/ejb-jar.xml file.

    See Event Queue Property for information about the property that specifies the type of event queue.

  6. Replace the file META-INF/ejb-jar.xml in the file vtacore.jar.
    jar uvf vtacore.jar META-INF/ejb-jar.xml
  7. Replace the file vtacore.jar in the EAR file.
    jar uvf quotavta.ear vtacore.jar

Event Queue Property

This topic describes the event queue property.

PersistentQueue

  • Type of queue—persistent or nonpersistent.
  • Value—true or false
  • Default—false