/** * A request timeout to use. * @param requestTimeout the requestTimeout. * @return the spec. * @see MessagingGatewaySupport#setRequestTimeout(long) */ public S requestTimeout(long requestTimeout) { this.target.setRequestTimeout(requestTimeout); return _this(); }
/** * Populate the {@link MessagingGatewaySupport} object to the {@link IntegrationFlowBuilder} chain * using the fluent API from the {@link MessagingGatewaySpec}. * The {@link org.springframework.integration.dsl.IntegrationFlow} {@code startMessagingGateway}. * @param inboundGatewaySpec the {@link MessagingGatewaysFunction} to use. * @return new {@link IntegrationFlowBuilder}. */ public static IntegrationFlowBuilder from(MessagingGatewaySpec<?, ?> inboundGatewaySpec) { return from(inboundGatewaySpec.get(), registerComponents(inboundGatewaySpec)); }
/** * Populate the {@link MessagingGatewaySupport} object to the {@link IntegrationFlowBuilder} chain * using the fluent API from the {@link MessagingGatewaySpec}. * The {@link org.springframework.integration.dsl.IntegrationFlow} {@code startMessagingGateway}. * @param inboundGatewaySpec the {@link MessagingGatewaysFunction} to use. * @return new {@link IntegrationFlowBuilder}. */ public static IntegrationFlowBuilder from(MessagingGatewaySpec<?, ?> inboundGatewaySpec) { return from(inboundGatewaySpec.get(), registerComponents(inboundGatewaySpec)); }
/** * A reply channel to use. * @param replyChannel the replyChannel. * @return the spec. * @see MessagingGatewaySupport#setReplyChannel(MessageChannel) */ public S replyChannel(MessageChannel replyChannel) { this.target.setReplyChannel(replyChannel); return _this(); }
/** * An error channel to use. * @param errorChannel the errorChannel. * @return the spec. * @see MessagingGatewaySupport#setErrorChannel(MessageChannel) */ public S errorChannel(MessageChannel errorChannel) { this.target.setErrorChannel(errorChannel); return _this(); }
/** * A reply channel to use. * @param replyChannel the replyChannel. * @return the spec. * @see MessagingGatewaySupport#setReplyChannel(MessageChannel) */ public S replyChannel(MessageChannel replyChannel) { this.target.setReplyChannel(replyChannel); return _this(); }
/** * A reply channel name to use. * @param replyChannelName the name of replyChannel. * @return the spec. * @since 1.1.1 * @see MessagingGatewaySupport#setReplyChannelName(String) */ public S replyChannel(String replyChannelName) { this.target.setReplyChannelName(replyChannelName); return _this(); }
/** * A request channel name to use. * @param requestChannelName the name of requestChannel. * @return the spec. * @since 1.1.1 * @see MessagingGatewaySupport#setRequestChannelName(String) */ public S requestChannel(String requestChannelName) { this.target.setRequestChannelName(requestChannelName); return _this(); }
/** * An {@link InboundMessageMapper} to use. * @param requestMapper the requestMapper. * @return the spec. * @see MessagingGatewaySupport#setRequestMapper(InboundMessageMapper) */ public S requestMapper(InboundMessageMapper<?> requestMapper) { this.target.setRequestMapper(requestMapper); return _this(); }
/** * An {@link OutboundMessageMapper} to use. * @param replyMapper the replyMapper. * @return the spec. * @see MessagingGatewaySupport#setReplyMapper(OutboundMessageMapper) */ public S replyMapper(OutboundMessageMapper<?> replyMapper) { this.target.setReplyMapper(replyMapper); return _this(); }
/** * A reply channel name to use. * @param replyChannelName the name of replyChannel. * @return the spec. * @since 1.1.1 * @see MessagingGatewaySupport#setReplyChannelName(String) */ public S replyChannel(String replyChannelName) { this.target.setReplyChannelName(replyChannelName); return _this(); }
/** * An error channel to use. * @param errorChannel the errorChannel. * @return the spec. * @see MessagingGatewaySupport#setErrorChannel(MessageChannel) */ public S errorChannel(MessageChannel errorChannel) { this.target.setErrorChannel(errorChannel); return _this(); }
/** * A lifecycle phase to use. * @param phase the phase. * @return the spec. * @see org.springframework.context.SmartLifecycle */ public S phase(int phase) { this.target.setPhase(phase); return _this(); }
/** * A request channel name to use. * @param requestChannelName the name of requestChannel. * @return the spec. * @since 1.1.1 * @see MessagingGatewaySupport#setRequestChannelName(String) */ public S requestChannel(String requestChannelName) { this.target.setRequestChannelName(requestChannelName); return _this(); }
/** * An error channel name to use. * @param errorChannelName the name of errorChannel. * @return the spec. * @since 1.1.1 * @see MessagingGatewaySupport#setErrorChannelName(String) */ public S errorChannel(String errorChannelName) { this.target.setErrorChannelName(errorChannelName); return _this(); }
/** * An {@link InboundMessageMapper} to use. * @param requestMapper the requestMapper. * @return the spec. * @see MessagingGatewaySupport#setRequestMapper(InboundMessageMapper) */ public S requestMapper(InboundMessageMapper<?> requestMapper) { this.target.setRequestMapper(requestMapper); return _this(); }
/** * An auto-startup flag. * @param autoStartup the autoStartup. * @return the spec. * @see org.springframework.context.SmartLifecycle */ public S autoStartup(boolean autoStartup) { this.target.setAutoStartup(autoStartup); return _this(); }
/** * A request channel to use. * @param requestChannel the requestChannel. * @return the spec. * @see MessagingGatewaySupport#setRequestChannel(MessageChannel) */ public S requestChannel(MessageChannel requestChannel) { this.target.setRequestChannel(requestChannel); return _this(); }
/** * A reply timeout to use. * @param replyTimeout the replyTimeout. * @return the spec. * @see MessagingGatewaySupport#setReplyTimeout(long) */ public S replyTimeout(long replyTimeout) { this.target.setReplyTimeout(replyTimeout); return _this(); }
/** * An {@link OutboundMessageMapper} to use. * @param replyMapper the replyMapper. * @return the spec. * @see MessagingGatewaySupport#setReplyMapper(OutboundMessageMapper) */ public S replyMapper(OutboundMessageMapper<?> replyMapper) { this.target.setReplyMapper(replyMapper); return _this(); }