You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Spring Integration Component

The spring-integration: component provides a bridge for Camel components to talk to spring integration endpoints.

URI format

spring-integration:defaultChannelName[?options]

Where defaultChannelName represents the default channel name which is used by the Spring Integration Spring context. It will equal to the inputChannel name for the Spring Integration consumer and the outputChannel name for the Spring Integration provider.

Options

Name

Description

Example

Required

default value

inputChannel

The spring integration input channel name this endpoint wants to consume from that is defined in the spring context

inputChannel=requestChannel

No

 

outputChannel

The spring integration output channel name to send message to the spring integration context

outputChannel=replyChannel

No

 

inOut

The exchange pattern that spring integration endpoint should use

inOut=true

No

inOnly for the spring integration consumer and outOnly for the spring integration provider

Usage

Spring Integration component is a bridge which connects Spring Integration endpoints through the Spring integration's input and output channels with the Camel endpoints. In this way, we can send out the Camel message to Spring Integration endpoints or receive the message from Spring Integration endpoint in Camel routing context.

  • No labels