List of usage examples for org.springframework.messaging.support ChannelInterceptorAdapter subclass-usage
From source file org.thingsplode.server.bus.interceptors.LoggingInterceptor.java
/** * * @author tamas.csaba@gmail.com */ @Component public class LoggingInterceptor extends ChannelInterceptorAdapter {
From source file it.pcan.test.integration.amqp.ClientErrorInterceptor.java
/** * * @author Pierantonio Cangianiello */ public class ClientErrorInterceptor extends ChannelInterceptorAdapter {
From source file com.company.project.config.PresenceChannelInterceptor.java
/** * * @author Romer */ public class PresenceChannelInterceptor extends ChannelInterceptorAdapter { private final Log logger = LogFactory.getLog(PresenceChannelInterceptor.class);
From source file ch.rasc.wampspring.session.SessionRepositoryMessageInterceptor.java
/**
* <p>
* Acts as a {@link ChannelInterceptor} to ensure the
* {@link ExpiringSession#getLastAccessedTime()} is up to date.
* </p>
* <ul>
From source file org.springintegration.PayloadAwareTimingInterceptor.java
/**
* A sample channel interceptor that illustrates a technique to capture elapsed times
* based on message payload types.
*
* @author Gary Russell
* @since 2.2
From source file com.consol.citrus.samples.bookstore.validation.XmlSchemaValidatingChannelInterceptor.java
/**
* Channel interceptor validating incoming messages with a given XSD Schema resource. In case
* of validation errors the interceptor raises a {@link XmlValidationException}. The exception can be handled
* by an exception resolver for transforming into proper SOAP faults for example.
*
* @author Christoph Deppisch
From source file opensnap.security.SecurityChannelInterceptor.java
@Component public class SecurityChannelInterceptor extends ChannelInterceptorAdapter { private Map<String, Object> securityDefinitions; private UserService userService; private static final Logger logger = LoggerFactory.getLogger(SecurityChannelInterceptor.class);
From source file apiserver.core.common.messageHandlers.PreOrPostWireTap.java
/** * User: mnimer * Date: 9/21/12 */ public class PreOrPostWireTap extends ChannelInterceptorAdapter implements Lifecycle { private static final Log logger = LogFactory.getLog(PreOrPostWireTap.class);
From source file org.springframework.cloud.sleuth.instrument.messaging.TracingChannelInterceptor.java
/**
* This starts and propagates {@link Span.Kind#PRODUCER} span for each message sent (via
* native headers. It also extracts or creates a {@link Span.Kind#CONSUMER} span for each
* message received. This span is injected onto each message so it becomes the parent when
* a handler later calls {@link MessageHandler#handleMessage(Message)}, or a another
* processing library calls {@link #nextSpan(Message)}.
From source file com.qpark.eip.core.spring.PayloadLogger.java
/** * Gets the message content and logs it to the logger with the given name. * * @author bhausen */ public class PayloadLogger extends ChannelInterceptorAdapter implements EndpointInterceptor, ClientInterceptor {