Spring Integration Tutorial (Part 5) - Routers

  • 376 views
Uploaded on

In this installment of our Spring Integration tutorial, we examine routers. Routers distribute messages to one or more message channels. Some routers (content routers) examine the message payload or …

In this installment of our Spring Integration tutorial, we examine routers. Routers distribute messages to one or more message channels. Some routers (content routers) examine the message payload or headers in order to select a particular destination message channel. Other routers (recipient list routers) simply distribute the message to all listed message channels.

More in: Software
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
376
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
9
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Copyright © 2014 by Intertech, Inc.
  • 2. Copyright © 2014 by Intertech, Inc.
  • 3. Copyright © 2014 by Intertech, Inc.
  • 4. <int:payload-type-router input-channel="inboundChannel"> <int:mapping type="java.lang.Double" channel="doubleChannel" /> <int:mapping type="java.lang.Integer" channel="integerChannel" /> </int:payload-type-router> <mapping> Copyright © 2014 by Intertech, Inc.
  • 5. <int:recipient-list-router id="listRouter" input-channel="inboundChannel"> <int:recipient channel="outboundA"/> <int:recipient channel="outboundB"/> </int:recipient-list-router> <recipient> Copyright © 2014 by Intertech, Inc.
  • 6. Copyright © 2014 by Intertech, Inc.