Skip to content

Instantly share code, notes, and snippets.

@fishnix
Created April 28, 2011 15:30
Show Gist options
  • Save fishnix/946577 to your computer and use it in GitHub Desktop.
Save fishnix/946577 to your computer and use it in GitHub Desktop.
aop injection qpid
<?xml version="1.0" encoding="UTF-8"?>
<aop xmlns="urn:jboss:aop-beans:1.0">
<!-- TODO: Jaikiran - These interceptor declarations need not be here since they
are already declared through the ejb3-interceptors-aop.xml. Duplicating them leads to
deployment errors. However, if this custom-ejb3-interceptors-aop.xml needs to be
independent, then we must find a better way of declaring these. Right now, commenting these
out, can be looked at later. -->
<!--
<interceptor class="org.jboss.ejb3.AllowedOperationsInterceptor" scope="PER_VM"/>
<interceptor class="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor" scope="PER_VM"/>
<interceptor factory="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory" scope="PER_CLASS"/>
<interceptor class="org.jboss.ejb3.stateless.StatelessInstanceInterceptor" scope="PER_VM"/>
<interceptor factory="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory" scope="PER_CLASS_JOINPOINT"/>
<interceptor factory="org.jboss.aspects.tx.TxInterceptorFactory" scope="PER_CLASS_JOINPOINT"/>
-->
<domain name="ScheduledRequestBean" extends="Message Driven Bean" inheritBindings="true">
<annotation expr="!class(@org.jboss.ejb3.annotation.DefaultActivationSpecs)">
@org.jboss.ejb3.annotation.DefaultActivationSpecs (value={@javax.ejb.ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"), @javax.ejb.ActivationConfigProperty(propertyName="destination", propertyValue="queue/ScheduledRequests"), @javax.ejb.ActivationConfigProperty(propertyName="connectionURL", propertyValue="amqp://guest:guest@improv/development?brokerlist='tcp://172.28.52.72:5672'"), @javax.ejb.ActivationConfigProperty(propertyName="useLocalTx", propertyValue="true")})
</annotation>
<annotation expr="!class(@org.jboss.ejb3.annotation.ResourceAdapter)">
@org.jboss.ejb3.annotation.ResourceAdapter(value="qpid-ra-0.10.rar")
</annotation>
</domain>
</aop>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment