activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: ::cms::Message class and properties
Date Mon, 29 Dec 2008 14:02:39 GMT
You could create a Jira issue to capture any ideas you have on how to
add such support to ActiveMQ-CPP, and as always contributions are always
welcome.

Regards
Tim.

On Fri, 2008-12-26 at 14:57 -0800, qbeardn wrote:
> Hi, I am bothered by this same issue.
> 
> The JMS 1.1 spec does provide a way to programmatically determine and set
> the type of message properties: you can use getObjectProperty /
> setObjectProperty.  For reference, section 3.5.5 says "Their purpose is to
> allow the decision of property type to made at execution time rather than at
> compile time."
> 
> CMS is missing this capability which appears to be an oversight.  I
> understand that it is possible to encode this information using strings, but
> that is a poor substitute.  I accept that it may be desirable for the CMS to
> provide this functionality using a different interface (maybe PropertyType
> getPropertyType (const string &name), instead of using the decaf Primitive
> wrappers).
> 
> cheers,
> bob
> 
> 
> 

-- 
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/




Mime
View raw message