ib JBOSS 6 we have a nice feature: an annotation called @AspectDomain.
It works in the following way:
we should place a peace of code inside ejb3-interceptors-aop.xml file:
<!-- IBM WebSphere MQ RCA Message Driven BEANS -->
<domain name="IBMMDB" extends="Message Driven Bean" inheritBindings="true">
<annotation expr="!class(@org.jboss.ejb3.annotation.DefaultActivationSpecs)">@org.jboss.ejb3.annotation.DefaultActivationSpecs ({@javax.ejb.ActivationConfigProperty(propertyName="channel", propertyValue="SYSTEM.DEF.SVRCONN"), @javax.ejb.ActivationConfigProperty(propertyName = "hostName", propertyValue = "myhost.withibmmq.com"))})</annotation>
</domain>
in the following example every MDB will get these two parameters ("channel" and "hostName") automatically injected.
My question is - how to configure the same behaviour under JBOSS 7.1