activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Stover" <>
Subject SpringXML intercption of consumer connects and consumer msg retrievals possible?
Date Wed, 01 Sep 2010 13:50:29 GMT
As you know Spring offers a mechanism called Interceptors which triggers a user bean whenever
a certain interface call is issued internally

Spring configuration go similar to:

<bean id="idMyPointcut"   class="">
    <property name="pattern" value=".*aop.myBe.*" />

<bean id="idMyAdvice" class="sampleaop.MyMethodInterceptor" />

  <bean class="">
    <property name="advice"   ref="idMyAdvice" />
    <property name="pointcut" ref="idMyPointcut" />

Is something similar within ActiveMQ?

I am particularly interested in intercepting call when consumers retrieve msgs from a queue.


View raw message