In preparation for the soon to be released ActiveMQ-CPP 2.1.1, we have released an update to the CMS (C++ Messaging Service) API. The main change in this release was to make the readXXX() methods in BytesMessage const so that they can be called from a MessageListener's onMessage method without having to resort to using const_cast to do it.
The download page for CMS 1.2 is here: http://activemq.apache.org/cms/cms-api-12-release.html ... and the doxygen-generated API is here: http://activemq.apache.org/cms/api_docs/cms-1.2/ Work is already underway to get ActiveMQ-CPP 2.1.1 out the door, so stay tuned! Regards, Nate