JmsInit Function

Action

Creates a JNDI context, looks up the connection factory, creates a connection and a session, and starts the session.

Include file

Jms.bdh

Syntax

JmsInit( in sJndiConnectionFactoryName : string );
Parameter Description
sJndiConnectionFactoryName The name of the JNDI connection factory

Example

JmsInit("ConnectionFactory");

Sample scripts

JmsSample.bdf, JmsSample.java