It's not a secret anymore!
The moose likes Websphere and the fly likes javax.jms.Message method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "javax.jms.Message method" Watch "javax.jms.Message method" New topic

javax.jms.Message method

Paul O'Neill
Ranch Hand

Joined: Mar 13, 2007
Posts: 40
What is the String parameter that's expected in the javax.jms.Message.getStringProperty(String name) method?
Paul Clapham

Joined: Oct 14, 2005
Posts: 19858

The name of the property. Conceptually a Message contains something like a Map; the keys (names of properties) are all Strings but the values can be String, int, or whatever.
It is sorta covered in the JavaRanch Style Guide.
subject: javax.jms.Message method
It's not a secret anymore!