Versions Compared

Key

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

Both the collection and the (processing) request JMS agents use JNDI to acquire the previously configured connection and destination objects.

For information about Connection Factory and Destination objects, see the JMS 1.1 specification: http://www.oracle.com/technetwork/java/docs-136352.html.

The classpath for the JMS and JNDI jar files are specified for each EC/ECSA. In the example below, the jar files are located in MZ_HOME/3pp.

Note
titleNote!

Ensure that you include existing paths, so that they are not overwritten.

Code Block
$ mzsh topo get topo://container:<container>/pico:<ec>/obj:config.classpath



Info
titleExample - Setting classpath


Code Block
mzsh topo set topo://container:<container>/pico:<ec name> '{
    template:mz.standard-ec
    config {
        classpath {
            jars=["jms/apache-activemq-5.0.0/activemq-all-5.0.0.jar"]
        }
    }
}'


After the classpath is set, the jar file must be manually distributed to be in place when the EC is started