/** * 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 MessagingGatewaySpec} to use. * @return new {@link IntegrationFlowBuilder}. */ public static IntegrationFlowBuilder from(MessagingGatewaySpec<?, ?> inboundGatewaySpec) { return from(inboundGatewaySpec.get(), registerComponents(inboundGatewaySpec)); }
/** * Populate the {@link MessageProducerSupport} object to the {@link IntegrationFlowBuilder} chain * using the fluent API from the {@link MessageProducerSpec}. * The {@link org.springframework.integration.dsl.IntegrationFlow} {@code startMessageProducer}. * @param messageProducerSpec the {@link MessageProducerSpec} to use. * @return new {@link IntegrationFlowBuilder}. * @see MessageProducerSpec */ public static IntegrationFlowBuilder from(MessageProducerSpec<?, ?> messageProducerSpec) { return from(messageProducerSpec.get(), registerComponents(messageProducerSpec)); }
/** * Populate the {@link MessageSource} object to the {@link IntegrationFlowBuilder} chain * using the fluent API from the provided {@link MessageSourceSpec}. * The {@link org.springframework.integration.dsl.IntegrationFlow} {@code startMessageSource}. * @param messageSourceSpec the {@link MessageSourceSpec} to use. * @param endpointConfigurer the {@link Consumer} to provide more options for the * {@link org.springframework.integration.config.SourcePollingChannelAdapterFactoryBean}. * @return new {@link IntegrationFlowBuilder}. * @see MessageSourceSpec * @see SourcePollingChannelAdapterSpec */ public static IntegrationFlowBuilder from(MessageSourceSpec<?, ? extends MessageSource<?>> messageSourceSpec, Consumer<SourcePollingChannelAdapterSpec> endpointConfigurer) { Assert.notNull(messageSourceSpec, "'messageSourceSpec' must not be null"); return from(messageSourceSpec.get(), endpointConfigurer, registerComponents(messageSourceSpec)); }
/** * 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 MessagingGatewaySpec} to use. * @return new {@link IntegrationFlowBuilder}. */ public static IntegrationFlowBuilder from(MessagingGatewaySpec<?, ?> inboundGatewaySpec) { return from(inboundGatewaySpec.get(), registerComponents(inboundGatewaySpec)); }
/** * Populate the {@link MessageProducerSupport} object to the {@link IntegrationFlowBuilder} chain * using the fluent API from the {@link MessageProducerSpec}. * The {@link org.springframework.integration.dsl.IntegrationFlow} {@code startMessageProducer}. * @param messageProducerSpec the {@link MessageProducerSpec} to use. * @return new {@link IntegrationFlowBuilder}. * @see MessageProducerSpec */ public static IntegrationFlowBuilder from(MessageProducerSpec<?, ?> messageProducerSpec) { return from(messageProducerSpec.get(), registerComponents(messageProducerSpec)); }
/** * Populate the {@link MessageProducerSupport} object to the {@link IntegrationFlowBuilder} chain * using the fluent API from the {@link MessageProducerSpec}. * The {@link org.springframework.integration.dsl.IntegrationFlow} {@code startMessageProducer}. * @param messageProducerSpec the {@link MessageProducerSpec} to use. * @return new {@link IntegrationFlowBuilder}. * @see MessageProducerSpec */ public static IntegrationFlowBuilder from(MessageProducerSpec<?, ?> messageProducerSpec) { return from(messageProducerSpec.get(), registerComponents(messageProducerSpec)); }
/** * 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 MessageSource} object to the {@link IntegrationFlowBuilder} chain * using the fluent API from the provided {@link MessageSourceSpec}. * The {@link org.springframework.integration.dsl.IntegrationFlow} {@code startMessageSource}. * @param messageSourceSpec the {@link MessageSourceSpec} to use. * @param endpointConfigurer the {@link Consumer} to provide more options for the * {@link org.springframework.integration.config.SourcePollingChannelAdapterFactoryBean}. * @return new {@link IntegrationFlowBuilder}. * @see MessageSourceSpec * @see SourcePollingChannelAdapterSpec */ public static IntegrationFlowBuilder from(MessageSourceSpec<?, ? extends MessageSource<?>> messageSourceSpec, Consumer<SourcePollingChannelAdapterSpec> endpointConfigurer) { Assert.notNull(messageSourceSpec, "'messageSourceSpec' must not be null"); return from(messageSourceSpec.get(), endpointConfigurer, registerComponents(messageSourceSpec)); }
/** * Populate the {@link MessageProducerSupport} object to the {@link IntegrationFlowBuilder} chain * using the fluent API from the {@link MessageProducerSpec}. * The {@link org.springframework.integration.dsl.IntegrationFlow} {@code startMessageProducer}. * @param messageProducerSpec the {@link MessageProducerSpec} to use. * @return new {@link IntegrationFlowBuilder}. * @see MessageProducerSpec */ public static IntegrationFlowBuilder from(MessageProducerSpec<?, ?> messageProducerSpec) { return from(messageProducerSpec.get(), registerComponents(messageProducerSpec)); }
/** * 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 MessageSource} object to the {@link IntegrationFlowBuilder} chain * using the fluent API from the provided {@link MessageSourceSpec}. * The {@link org.springframework.integration.dsl.IntegrationFlow} {@code startMessageSource}. * @param messageSourceSpec the {@link MessageSourceSpec} to use. * @param endpointConfigurer the {@link Consumer} to provide more options for the * {@link org.springframework.integration.config.SourcePollingChannelAdapterFactoryBean}. * @return new {@link IntegrationFlowBuilder}. * @see MessageSourceSpec * @see SourcePollingChannelAdapterSpec */ public static IntegrationFlowBuilder from(MessageSourceSpec<?, ? extends MessageSource<?>> messageSourceSpec, Consumer<SourcePollingChannelAdapterSpec> endpointConfigurer) { Assert.notNull(messageSourceSpec, "'messageSourceSpec' must not be null"); return from(messageSourceSpec.get(), endpointConfigurer, registerComponents(messageSourceSpec)); }
/** * Populate the {@link MessageSource} object to the {@link IntegrationFlowBuilder} chain * using the fluent API from the provided {@link MessageSourceSpec}. * The {@link org.springframework.integration.dsl.IntegrationFlow} {@code startMessageSource}. * @param messageSourceSpec the {@link MessageSourceSpec} to use. * @param endpointConfigurer the {@link Consumer} to provide more options for the * {@link org.springframework.integration.config.SourcePollingChannelAdapterFactoryBean}. * @return new {@link IntegrationFlowBuilder}. * @see MessageSourceSpec * @see SourcePollingChannelAdapterSpec */ public static IntegrationFlowBuilder from(MessageSourceSpec<?, ? extends MessageSource<?>> messageSourceSpec, Consumer<SourcePollingChannelAdapterSpec> endpointConfigurer) { Assert.notNull(messageSourceSpec, "'messageSourceSpec' must not be null"); return from(messageSourceSpec.get(), endpointConfigurer, registerComponents(messageSourceSpec)); }