persistent class EnsLib.JMS.Message
extends Ens.Request
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 messageId
as %String(MAXLEN="");
property properties
as array of EnsLib.JMS.Property(XMLITEMNAME="property",XMLKEYNAME="key",XMLPROJECTION="COLLECTION");
property text
as %String(MAXLEN="");
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 type
as %String(VALUELIST=",TextMessage,BytesMessage") [ InitialExpression = "TextMessage" ];
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