[jboss-user] [Messaging, JMS & JBossMQ] - Re: How do you enable JMSXUserID message property
osganian
do-not-reply at jboss.com
Fri Dec 29 08:08:46 EST 2006
So it looks like JBoss 4.0.4 doesn't support the optional JMSX property JMSXUserID. So is there a way to know on the MDB side what user id sent the message? It's not an authentication thing since the user was already authenticated in order to connect to the queue and publish a message to it. Its about know who sent the message so I can perform business logic queries and such.
Weblogic supports this by setting a boolean property on its connection factory.
Anybody know how to do this in JBoss? Of course I can't simply say the client must set a message property because that would be cheating (i.e., user is named 'test' and he decides to set the special username message property to 'root'). The provider during the message send operation will have to do it.
Thanks for any help.
Mike
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996840#3996840
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996840
More information about the jboss-user
mailing list