1 Reply Latest reply on Mar 23, 2005 9:52 PM by Ovidiu Feodorov

    Messaging interceptors for facade


      Hey Ovidiu,

      I'm looking at the interceptors for EJB3 and they seem based on Hibernate3 stuff. I doubt you're going to be using the same exact interceptors for the Facade (since it's using onLoad, etc and Messaging doesn't really need the exact same events).

      I notice your interceptors in the core stuff uses the aop interceptors. Which events are you going to use in your JMS Facade interceptors?

      I hope these questions aren't too basic. I'm just trying to figure out what's similar and what's unique between different containers (EJB container vs. JMS container).


        • 1. Re: Messaging interceptors for facade
          Ovidiu Feodorov Master

          I've just checked in new code in CVS and updated the design documentation. Take a look at http://www.jboss.org/index.html?module=bb&op=viewtopic&t=61556, you'll find there a link to the design document that provides partial answers to your questions.

          No, I won't be using the same interceptors, but the plumbing that allows me to install my interceptors. Take a look at the code, it's the best way to figure out how it is done.

          Yes, I will be using AOP interceptors. jboss-aop.jar needs to be present in the JMS client's classpath.

          No, there are no questions that are too basic (well, up to a point, though :). Check out the code and run a debugger through it. Please also take a look at the JIRA tasks, maybe you find some that inspire you. Or, you can create your own ... I will certainly create tons more in the near future.