On 03/15/2013 11:53 AM, mikmela wrote:
Java implementation (5.6.0) does something special for this property
/public String getStringProperty(String name) throws JMSException {
Object value = null;
if (name.equals("JMSXUserID")) {
value = getUserID();
if (value == null) {
value = getObjectProperty(name);
}
} else {
value = getObjectProperty(name);
}
.../
but CMS (3.6.0 and below) does not... What's the way then to get the
authenticated username of the sender of a message?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ACtiveMQ-CMS-and-JMSXUserID-property-tp4664762.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Create a test case and open a Jira issue if you want a fix.
Cast the Message to the activemq::commands::Message type and call
getUserID directly
--
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.b...@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/