Compressing Data for Consumer REST Service Operations

By default, the data is sent out of the HTTP Target Connector uncompressed for REST Consumer Transactions. To send compressed data, use:

(via PeopleCode)

&MSG.IBInfo.CompressionOverride = %IntBroker_Compress

or the size of the data is larger than the value set in PSADMIN.

and

(via PeopleCode)


&MSG.IBInfo.LoadRESTHeaders();
&MSG.IBInfo.IBConnectorInfo.AddConnectorProperties("sendUncompressed", "N", %Header).