Hi, I am using ActiveMQ-CPP to consume messages asynchronously. In my onMessage() method can I refer to the cms::Message object directly?
All the examples show this being casted to another type (eg. BytesMessage). Some messages may not have payloads so I am not sure what exact type to use for these.