Predefined Constants
The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
-
SAM_AUTO
( string )
-
Automatic behaviour
-
SAM_BOOLEAN
( string )
-
Type specifier used when setting properties on SAM_Message objects.
-
SAM_BUS
( string )
-
Connect attribute used to set the name of the enterprise service bus to
connect to.
-
SAM_BYTE
( string )
-
Type specifier used when setting properties on SAM_Message objects.
-
SAM_BYTES
( string )
-
Message body type descriptor.
-
SAM_CORRELID
( string )
-
Attribute used on receive, send and remove requests to identify specific
messages.
-
SAM_DELIVERYMODE
( string )
-
Message header property.
-
SAM_DOUBLE
( string )
-
Type specifier used when setting properties on SAM_Message objects.
-
SAM_ENDPOINTS
( string )
-
Connect attribute used to define the possible endpoints to connect to.
-
SAM_FLOAT
( string )
-
Type specifier used when setting properties on SAM_Message objects.
-
SAM_HOST
( string )
-
Connect attribute used to set the hostname of the required messaging
server.
-
SAM_INT
( string )
-
Type specifier used when setting properties on SAM_Message objects.
-
SAM_LONG
( string )
-
Type specifier used when setting properties on SAM_Message objects.
-
SAM_MANUAL
( string )
-
Manual (script controlled) behaviour
-
SAM_MESSAGEID
( string )
-
Attribute used on receive and remove requests to identify specific
messages.
-
SAM_MQTT
( string )
-
Connect protocol definition for selecting the MQTT (MQ Telemetry Transport) protocol.
-
SAM_MQTT_CLEANSTART
( bool )
-
Optional connect option to indicate to an MQTT server that all previous connection data
for this client should be removed and that subscriptions should be deleted when the client
disconnects explicitly or unexpectedly.
-
SAM_NON_PERSISTENT
( string )
-
Connect attribute value used to request messages are not made persistent
on the messaging server.
-
SAM_PASSWORD
( string )
-
Connect attribute used to define the password to be used for the user
account being used to connect to a messaging server that requires
authorisation for connections.
-
SAM_PERSISTENT
( string )
-
Connect attribute value used to request messages are made persistent
on the messaging server to protect against loss of messages in the
event of failure.
-
SAM_PORT
( string )
-
Connect attribute used to set the port number on which to communicate
with the messaging server.
-
SAM_PRIORITY
( string )
-
Option name used on send requests to specify a delivery priority value.
-
SAM_REPLY_TO
( string )
-
Message property used to specify the queue identity on to which the
script expects response or reply messages to be posted.
-
SAM_RTT
( string )
-
Connect protocol definition for selecting the IBM Realtime Transport
protocol for communication with a business integration messaging server.
-
SAM_STRING
( string )
-
Type specifier used when setting properties on SAM_Message objects.
-
SAM_TARGETCHAIN
( string )
-
Connection attribute used to set the required target chain identifier.
-
SAM_TEXT
( string )
-
Message body type descriptor.
-
SAM_TIMETOLIVE
( string )
-
Message send option name used to specify the length of time a message
should be retained in milliseconds.
-
SAM_TRANSACTIONS
( string )
-
Connection attribute used to set required transactional behaviour. May
be set to SAM_AUTO (default) or SAM_MANUAL.
-
SAM_USERID
( string )
-
Connect attribute used to define the account to being used to
connect to a messaging server that requires authorisation for connections.
-
SAM_WAIT
( string )
-
Receive property used to specify the wait timeout to be used when
receiving a message from a queue or subscription.
-
SAM_WMQ
( string )
-
Connect protocol definition for selecting the IBM WebSphere MQSeries
protocol for communication with the desired messaging server.
-
SAM_WMQ_BINDINGS
( string )
-
Connect protocol definition for selecting the IBM WebSphere MQSeries
protocol for communication with a local messaging server.
-
SAM_WMQ_CLIENT
( string )
-
Connect protocol definition for selecting the IBM WebSphere MQSeries
protocol for communication with a remote messaging server.
-
SAM_WMQ_TARGET_CLIENT
( string )
-
Option name used on send requests to specify the target client mode.
This can either be default to 'jms' or 'mq'. The default is 'jms' which
means an RFH2 header is sent with the message whereas the 'mq' setting
means no RFH2 is included.
-
SAM_WPM
( string )
-
Connect protocol definition for selecting the IBM WebSphere Platform
Messaging protocol for communication with a WebSphere Application Server
messaging server.