abstract class EnsLib.JMS.Common
extends %RegisteredObject
parameter ISINBOUND = 0;
parameter SETTINGS = "JavaGatewayHost,JavaGatewayPort,JavaGatewayTimeout,JavaGatewayAdditionalClassPaths,JMSServer,JMSInitialContextFactory,JMSFactory,JMSQueue,JMSClientID,JMSCredentials:Basic:credentialsSelector,JMSLogFileName";
property %JavaGateway
as %Net.Remote.Gateway;
The JavaGateway connection object
property %JavaGatewayProxy
as %RegisteredObject;
The proxy object for the JavaGateway connection
property JMSClientID
as %String(MAXLEN="");
ClientID to use for the connection
property JMSCredentials
as %String [ InitialExpression = "None" ];
This is the ID name of the set of credentials values (Username, Password) to be used to access the HTTP server
property JMSFactory
as %String(MAXLEN="");
Name of QueueConnectionFactory
property JMSInitialContextFactory
as %String(MAXLEN="");
Name for INITIAL_CONTEXT_FACTORY
property JMSLogFileName
as %String(MAXLEN="");
Log file name
property JMSQueue
as %String(MAXLEN="");
Name of Queue
property JMSServer
as %String(MAXLEN="");
URL for JMS Server
property JavaGatewayAdditionalClassPaths
as %String(MAXLEN="");
JavaGateway Additional ClassPaths
property JavaGatewayTimeout
as %Numeric(MAXVAL=30000,MINVAL=0) [ InitialExpression = 5 ];
Number of seconds to wait on each attempt to connect to the Java Gateway
method CheckGatewayConnection()
as %Status
method CheckGatewayDisconnection()
as %Boolean
method Connect()
as %Status
method Disconnect()
as %Status
method OnInit()
as %Status
method OnTearDown()
as %Status