Author: rhs
Date: Mon Oct 22 21:22:55 2012
New Revision: 1401084
URL: http://svn.apache.org/viewvc?rev=1401084&view=rev
Log:
filled in shim for correlation-id and message-id
Modified:
qpid/proton/trunk/proton-j/src/main/scripts/proton.py
Modified: qpid/proton/trunk/proton-j/src/main/scripts/proton.py
URL:
http://svn.apache.org/viewvc/qpid/proton/trunk/proton-j/src/main/scripts/proton.py?rev=1401084&r1=1401083&r2=1401084&view=diff
==============================================================================
--- qpid/proton/trunk/proton-j/src/main/scripts/proton.py (original)
+++ qpid/proton/trunk/proton-j/src/main/scripts/proton.py Mon Oct 22 21:22:55
2012
@@ -445,6 +445,18 @@ class Message(object):
def decode(self, data):
self.impl.decode(data,0,len(data))
+ def _get_id(self):
+ return self.impl.getMessageId()
+ def _set_id(self, value):
+ return self.impl.setMessageId(value)
+ id = property(_get_id, _set_id)
+
+ def _get_correlation_id(self):
+ return self.impl.getCorrelationId()
+ def _set_correlation_id(self, value):
+ return self.impl.setCorrelationId(value)
+ correlation_id = property(_get_correlation_id, _set_correlation_id)
+
def _get_ttl(self):
return self.impl.getTtl()
def _set_ttl(self, ttl):
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]