Pipeline processing
Within a bridge's pipeline, there are the following steps:
Stage |
Direction |
Purpose |
---|---|---|
Message Type |
Receive |
Match schema to incoming message |
Decode |
Receive |
Convert incoming message to XML based on schema |
Validate |
Receive |
Determine if message is valid according to the schema |
Enrich |
Receive |
Create properties from message or context content |
Transform |
Receive/Send |
Map the message to another message schema format |
Enrich |
Send |
Create properties from the message or context content |
Encode |
Send |
Get the message ready for transmission |
Of course, for two-way and pass-through bridges, things are a little different, as you would expect. For two-way bridges, there are no Decode and Encode stages, and pass-through bridges only have a single stage, Enrich.