I don't really understand what you are asking for?
What you describe is called a Topic.
But to answer your question, write an interceptor as described on the WIKI page.
The method on JMSServerInterceptor[Support] you want are either
(sorry, didn't understand what you want :-):
Login: authenticate(String, String)
Subscription: subscribe(ConnectionToken, Subscription)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041960#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...