Class AbstractAuditRequestContextPropagatingDecorator

    • Constructor Detail

      • AbstractAuditRequestContextPropagatingDecorator

        public AbstractAuditRequestContextPropagatingDecorator()
        Constructor that will set the value of the publisher context.
    • Method Detail

      • setContext

        protected void setContext()
        Sets the current thread's AuditRequestContext to that of the publisher thread. This method should be called from the consumer thread.
      • revertContext

        protected void revertContext()
        Reverts the consumer threads' AuditRequestContext to the value it had when setContext() was called. This method should be called from the consumer thread after setContext() has been called.