There was this feature request in earlier version of JBoss (https://issues.jboss.org/browse/JBAS-2861?_sscc=t). Is it fixed in JBoss 7? We have exactly similar requirement and I am wondering if we can achieve this in JBoss 7.
There's already another discussion created few minutes back asking this same question https://community.jboss.org/thread/196341?tstart=0