Spring Enterprise Integration: Professional Open Source™
Spring Enterprise Integration: Professional Open Source™
07/17/04
TRADITIONAL APPROACH
In this scenario, the TradesLoader fetches the Trades and posts them
onto an internal data structure (a queue) before exiting.
The relevant components, such as TradeProcessor, TradePersistor,
and TradeNotifier will be working on their respective jobs to satisfy the
workflow.
They all can work at their own pace and not be bothered by the
sequential processing anymore.
What is a Message ?
Professional Open Source
10
11
12
Endpoints
Professional Open Source
13
ServiceActivator Endpoint
Professional Open Source
14
15
Basics-beans.xml
Professional Open Source
16
17
18
MESSAGE CHANNELS IN
DETAILS
19
20
21
22
QueueChannel
Professional Open Source
23
The sender will wait till there is room for message or will time out if
specified
24
25
Priority Channel
Professional Open Source
26
27
Rendezvous Channel
Professional Open Source
28
PublishSubscribeChannel
Professional Open Source
PublishSubscribeChannel is a SubscribableChannel
implementation
29
Direct Channel
Professional Open Source
30
31
32
Executor Channel
Professional Open Source
33
ENDPOINTS
34
ServiceActivator
Professional Open Source
If the bean class has only one method, then you do not have to
declare the method attribute
35
36
Gateway
Professional Open Source
37
38
Synchronous Gateway
Professional Open Source
39
40
41
Asynchronous Gateway
Professional Open Source
The client in the previous example will be blocked until it gets a reply
from the processors.
If the clients requirement is to fire and continue, using
Asynchronous Gateway is the right choice.
42
Delayer Endpoint
Professional Open Source
43
You can also use a header field to define the delay period for each
message.
44
Message Enricher
Professional Open Source
45
Header Enricher
Professional Open Source
You can add additional header attributes to the message using the
Header Enricher component
46
You can set a number of predefined properties such as priority, replychannel, errorchannel.
47
48
Payload Enricher
Professional Open Source
49
50
TRANSFORMERS
51
String Transformers
Professional Open Source
52
Map Transformers
Professional Open Source
53
54
JSON Transformers
Professional Open Source
55
XML Transformers
Professional Open Source
56
57
XPath Transformers
Professional Open Source
58
Custom Transformers
Professional Open Source
59