Package com.totvs.tjf.messaging
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
ConstructorsConstructorDescriptionOutputChannelInterceptor(com.totvs.tjf.messaging.core.error.health.ErrorAMQPSentHealthIndicator indicator) -
Method Summary
Modifier and TypeMethodDescriptionvoidafterSendCompletion(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, waitMethods 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:
afterSendCompletionin interfaceorg.springframework.messaging.support.ChannelInterceptor
-