@solace-community/angular-solace-message-client
Advanced tools
Changelog
11.0.1 (2021-08-20)
Session
, MessageConsumer
, QueueBrowser
, and related objects (2e3b8ab)SDTField
, data is transported as structured message of the type
TEXT
, MAP
, or STREAM
, or as binary message otherwise;mapToObject
for unmarshalling received JSON data;MessageBodyFormat.JSON
or by default), you need to pass serialized data instead of the object literal;MessageBodyFormat.TEXT
), add transfer data to a SDTField
of the type STRING
, as following: solaceMessageClient.publish('topic', SolaceObjectFactory.createSDTField(SDTFieldType.STRING, 'payload'))
;MessageBodyFormat.BINARY
), pass transfer data either as string, array buffer like object, or data view instead;format
function to convert data into a structured container (Structured Data Type), pass transfer data in the form of a SDTField
instead;mapToObject
RxJS operator to unmarshall received JSON data into a JavaScript object literal, you need to unmarshall received data yourself;