/** * Populate the {@code Wire Tap} EI Pattern specific * {@link org.springframework.messaging.support.ChannelInterceptor} implementation. * @param wireTapChannel the {@link MessageChannel} instance to wire-tap. * @return the current {@link MessageChannelSpec}. * @since 1.2 * @see WireTapSpec */ public S wireTap(MessageChannel wireTapChannel) { return wireTap(new WireTapSpec(wireTapChannel)); }
/** * Populate the {@code Wire Tap} EI Pattern specific * {@link org.springframework.messaging.support.ChannelInterceptor} implementation. * @param wireTapChannel the {@link MessageChannel} bean name to wire-tap. * @return the current {@link MessageChannelSpec}. * @since 1.2 * @see WireTapSpec */ public S wireTap(String wireTapChannel) { return wireTap(new WireTapSpec(wireTapChannel)); }
/** * Populate the {@code Wire Tap} EI Pattern specific * {@link org.springframework.messaging.support.ChannelInterceptor} implementation. * @param wireTapChannel the {@link MessageChannel} bean name to wire-tap. * @return the current {@link MessageChannelSpec}. * @since 1.2 * @see WireTapSpec */ public S wireTap(String wireTapChannel) { return wireTap(new WireTapSpec(wireTapChannel)); }
/** * Populate the {@code Wire Tap} EI Pattern specific * {@link org.springframework.messaging.support.ChannelInterceptor} implementation. * @param wireTapChannel the {@link MessageChannel} instance to wire-tap. * @return the current {@link MessageChannelSpec}. * @since 1.2 * @see WireTapSpec */ public S wireTap(MessageChannel wireTapChannel) { return wireTap(new WireTapSpec(wireTapChannel)); }