The env JavaScript object
You can learn more about env JavaScript object using the information provided here.
The piece of JavaScript executed by the JMS Driver needs access to a JavaScript object named env. This is an object of type java.util.Hashtable, which contains provider-specific parameters for connecting to the JMS provider. These parameters are intended to be used by the JavaScript code in order to access the specific JMS system server instance.
These parameters can be specified in *global.properties or solution.properties using the systemqueue.jmsdriver.param
prefix. For example, if a URL param is needed for some JMS system, then the following property can be set in *global.properties
or solution.properties: **
systemqueue.jmsdriver.param.myjmssystem.url=myjmsserver.mydomain.com:12345
This definition would cause the System Queue to pass it to the JavaScript code as an entry in the env Hashtable, whose key would be "myjmssystem.url" (the System Queue removes the prefix) and whose value would be "myjmsserver.mydomain.com:12345".