MapMessage getters should be const
----------------------------------
Key: AMQCPP-47
URL: https://issues.apache.org/activemq/browse/AMQCPP-47
Project: ActiveMQ C++ Client
Issue Type: Improvement
Components: CMS Impl
Affects Versions: 2.0
Reporter: Albert Strasheim
Assigned To: Nathan Mittler
Priority: Minor
Fix For: 2.0
It looks to me like the cms::MapMessage getter functions can all be const?
I'm guessing there isn't a MapMessage implementation yet, but I'm guessing
it'll probably be implemented on top of a C++ STL map?
Having the getters const will mean that people won't have to clone a MapMessage
in a MessageListener if they want to read its fields.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira