Hi Team,
Currently i believe the way to use the message_id is :
call *setCMSMessageID (std::string& message_id)* while sending the message
and
call *getCMSMessageID ()* to retrieve the *message_id* value from the
message.
I cannot use the message_id in the above manner.
Are there any more (direct ways....i.e not through the properties) to do
this ?
Found the following in the Active MQ CMS code:
---------------------
virtual std::string getCMSMessageID() const {
try{
return
wireformat::openwire::marshal::BaseDataStreamMarshaller::toString(
this->getMessageId().get() );
}
AMQ_CATCH_ALL_THROW_CMSEXCEPTION()
}
virtual void setCMSMessageID( const std::string& id AMQCPP_UNUSED )
{}
---------------------
Can anyone explain the reason why *setCMSMessageID* is not setting the
user-specified value ?
Is there any specific reason to omit it (the defnintion) ?
Thanks & Best Regards,
Sreekar
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Why-Message-id-is-disabled-in-ActiveMQ-CMS-tp4541043p4541043.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.