JmsStartUp Function

Action

Starts JMS. Use this function in the TInit.

Include file

Jms.bdh

Syntax

JmsStartUp( in sJndiConnectinoFactoryName : string, 
            in sJndiNamingFactoryInitial  : string optional);
Parameter Description
sJndiConnectionFactoryName The name of the JNDI Connection Factory
sJndiNamingFactoryInitial (optional) The JNDI Naming Factory Initial Environment value

Example

transaction TInit
begin
  JavaCreateJavaVM();
  JmsStartUp("jms/ConnectionFactory", "com.sun.enterprise.naming.impl.SerialInitcontextFactory");
end TInit

Sample scripts

JmsSample.bdf, JmsSample.java