After I get a string value using dpiMsgProps_getCorrelation, what is the lifetime of the byte string pointer? Is it a new allocation, or is it a reference to a dpiMsgProps attribute that will be released when dpiMsgProps_release gets called?
It is a reference to an internal attribute which will be valid for the lifetime of the dpiMsgProps object itself. This is true for all string attributes unless otherwise stated.
After I get a string value using
dpiMsgProps_getCorrelation
, what is the lifetime of the byte string pointer? Is it a new allocation, or is it a reference to adpiMsgProps
attribute that will be released whendpiMsgProps_release
gets called?