Class OutputChannelInterceptor

java.lang.Object
com.totvs.tjf.messaging.OutputChannelInterceptor
All Implemented Interfaces:
org.springframework.messaging.support.ChannelInterceptor

@Service @GlobalChannelInterceptor(patterns={"!input","!in-*","!input-*","!*-in","*-input","!*-in-*","!*-input-*"}) public class OutputChannelInterceptor extends Object implements org.springframework.messaging.support.ChannelInterceptor
  • Constructor Summary

    Constructors
    Constructor
    Description
    OutputChannelInterceptor(com.totvs.tjf.messaging.core.error.health.ErrorAMQPSentHealthIndicator indicator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterSendCompletion(org.springframework.messaging.Message<?> message, org.springframework.messaging.MessageChannel channel, boolean sent, Exception ex)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.messaging.support.ChannelInterceptor

    afterReceiveCompletion, postReceive, postSend, preReceive, preSend
  • Constructor Details

    • OutputChannelInterceptor

      public OutputChannelInterceptor(@Nullable com.totvs.tjf.messaging.core.error.health.ErrorAMQPSentHealthIndicator indicator)
  • Method Details

    • afterSendCompletion

      public void afterSendCompletion(org.springframework.messaging.Message<?> message, org.springframework.messaging.MessageChannel channel, boolean sent, @Nullable Exception ex)
      Specified by:
      afterSendCompletion in interface org.springframework.messaging.support.ChannelInterceptor