Skip to main content

EnsLib.JMS.Message

persistent class EnsLib.JMS.Message extends Ens.Request

SQL Table Name: EnsLib_JMS.Message

Property Inventory

Method Inventory

Properties

property bytes as %Stream.GlobalBinary;
Stores contents for a BytesMessage. If this is empty and type is BytesMessage, the contents of text will be encoded to bytes using the system's default encoding scheme
Property methods: bytesDelete(), bytesGet(), bytesGetObject(), bytesGetObjectId(), bytesGetStored(), bytesGetSwizzled(), bytesIsValid(), bytesNewObject(), bytesOid(), bytesOpen(), bytesSet(), bytesSetObject(), bytesSetObjectId(), bytesUnSwizzle()
property messageId as %String);
Property methods: messageIdDisplayToLogical(), messageIdGet(), messageIdGetStored(), messageIdIsValid(), messageIdLogicalToDisplay(), messageIdLogicalToOdbc(), messageIdNormalize(), messageIdSet()
property properties as array of EnsLib.JMS.Property (XMLITEMNAME = "property", XMLKEYNAME = "key", XMLPROJECTION = "COLLECTION");
Property methods: propertiesBuildValueArray(), propertiesCollectionToDisplay(), propertiesCollectionToOdbc(), propertiesDisplayToCollection(), propertiesGet(), propertiesGetObject(), propertiesGetObjectId(), propertiesGetStored(), propertiesGetSwizzled(), propertiesIsValid(), propertiesOdbcToCollection(), propertiesSet(), propertiesSetObject(), propertiesSetObjectId()
property text as %String);
Contains the contents of a TextMessage. Can also be set for a BytesMessage, and will be encoded if bytes is empty. EnsLib.JMS.Service will set this property to the decoded contents of a received BytesMessage as long as it's length is less than the max string length.
Property methods: textDisplayToLogical(), textGet(), textGetStored(), textIsValid(), textLogicalToDisplay(), textLogicalToOdbc(), textNormalize(), textSet()
property type as %String (VALUELIST = ",TextMessage,BytesMessage") [ InitialExpression = "TextMessage" ];
Property methods: typeDisplayToLogical(), typeGet(), typeGetStored(), typeIsValid(), typeLogicalToDisplay(), typeLogicalToOdbc(), typeNormalize(), typeSet()

Methods

method getBooleanProperty(key As %String) as %Boolean
method getByteProperty(key As %String) as %String
method getDoubleProperty(key As %String) as %Double
method getFloatProperty(key As %String) as %Double
method getIntProperty(key As %String) as %Integer
method getIntegerProperty(key As %String) as %Integer
method getLongProperty(key As %String) as %Integer
method getNextPropertyKey(previousKey As %String = "") as %String
method getProperty(key As %String) as %String
method getPropertyType(key As %String) as %String
method getShortProperty(key As %String) as %Integer
method getStringProperty(key As %String) as %String
method setBooleanProperty(key As %String, value As %Boolean) as %Status
method setByteProperty(key As %String, value As %String) as %Status
method setDoubleProperty(key As %String, value As %Double) as %Status
method setFloatProperty(key As %String, value As %Double) as %Status
method setIntProperty(key As %String, value As %Integer) as %Status
method setIntegerProperty(key As %String, value As %Integer) as %Status
method setLongProperty(key As %String, value As %Integer) as %Status
method setProperty(key As %String, value As %String, type As %String = "String") as %Status
method setShortProperty(key As %String, value As %Integer) as %Status
method setStringProperty(key As %String, value As %String) as %Status

Inherited Members

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (Ens.MessageBody)

^Ens.MessageBodyD(ID)
=
%%CLASSNAME

Storage Model: Storage (EnsLib.JMS.Message)

^Ens.MessageBodyD(ID,"Message")
=
text
type
messageId
bytes

Storage Model: Storage (EnsLib.JMS.Message)

^Ens.MessageBodyD(ID,"EnsLib.JMS.Message.properties",n)
=
properties(n)
FeedbackOpens in a new tab