3 Replies Latest reply on Aug 29, 2005 12:53 PM by Scott Stark

    Persistence/Caching interceptors

    Ovidiu Feodorov Master

      It would be nice, and actually not only nice, but the the natural way to do it, to have a PersistenceInterceptor and a CachingInterceptor (or even a single interceptor that combines these two). However this is currently difficult to do, because the interceptor will replace the javax.jms.Message argument of the invocation with a org.jboss.messaging.core.MessageReference, and a whole set of server-side facade interfaces have to be changed.

      Maybe this is a sign that the current architecture based on server-side delegates is not the best one ...