@@ -182,15 +182,15 @@ static PyObject *cxoMsgProps_getExpiration(cxoMsgProps *props, void *unused)
182
182
183
183
184
184
//-----------------------------------------------------------------------------
185
- // cxoMsgProps_getOriginalMsgId ()
186
- // Get the value of the expiration property.
185
+ // cxoMsgProps_getMsgId ()
186
+ // Get the value of the msgid property.
187
187
//-----------------------------------------------------------------------------
188
- static PyObject * cxoMsgProps_getOriginalMsgId (cxoMsgProps * props , void * unused )
188
+ static PyObject * cxoMsgProps_getMsgId (cxoMsgProps * props , void * unused )
189
189
{
190
190
uint32_t valueLength ;
191
191
const char * value ;
192
192
193
- if (dpiMsgProps_getOriginalMsgId (props -> handle , & value , & valueLength ) < 0 )
193
+ if (dpiMsgProps_getMsgId (props -> handle , & value , & valueLength ) < 0 )
194
194
return cxoError_raiseAndReturnNull ();
195
195
if (!value )
196
196
Py_RETURN_NONE ;
@@ -285,25 +285,6 @@ static int cxoMsgProps_setExpiration(cxoMsgProps *props, PyObject *valueObj,
285
285
}
286
286
287
287
288
- //-----------------------------------------------------------------------------
289
- // cxoMsgProps_setOriginalMsgId()
290
- // Set the value of the original message id property.
291
- //-----------------------------------------------------------------------------
292
- static int cxoMsgProps_setOriginalMsgId (cxoMsgProps * props , PyObject * valueObj ,
293
- void * unused )
294
- {
295
- Py_ssize_t valueLength ;
296
- char * value ;
297
-
298
- if (PyBytes_AsStringAndSize (valueObj , & value , & valueLength ) < 0 )
299
- return -1 ;
300
- if (dpiMsgProps_setOriginalMsgId (props -> handle , value ,
301
- (uint32_t ) valueLength ) < 0 )
302
- return cxoError_raiseAndReturnInt ();
303
- return 0 ;
304
- }
305
-
306
-
307
288
//-----------------------------------------------------------------------------
308
289
// cxoMsgProps_setPriority()
309
290
// Set the value of the expiration property.
@@ -339,8 +320,7 @@ static PyGetSetDef cxoCalcMembers[] = {
339
320
(setter ) cxoMsgProps_setExceptionQ , 0 , 0 },
340
321
{ "expiration" , (getter ) cxoMsgProps_getExpiration ,
341
322
(setter ) cxoMsgProps_setExpiration , 0 , 0 },
342
- { "msgid" , (getter ) cxoMsgProps_getOriginalMsgId ,
343
- (setter ) cxoMsgProps_setOriginalMsgId , 0 , 0 },
323
+ { "msgid" , (getter ) cxoMsgProps_getMsgId , 0 , 0 , 0 },
344
324
{ "priority" , (getter ) cxoMsgProps_getPriority ,
345
325
(setter ) cxoMsgProps_setPriority , 0 , 0 },
346
326
{ "state" , (getter ) cxoMsgProps_getState , 0 , 0 , 0 },
0 commit comments