war deployment containing WelcomeServlet
providing HTTP service in the remote site. Thus, in effect the HttpInvoker
functions as a binding component for the remote service.
timer: org.apache.servicemix.components.quartz.QuartzComponent
is a Quartz component for triggering components when timer events fire. In
our case, we have configured repeatCount property with a value of zero,
which means the trigger will happen only once.
trace: org.apache.servicemix.components.util.TraceComponent is a
simple tracing component, which can be placed inside a pipeline to trace the
message exchange though the component.
Obviously, there are multiple paths which we can define using various combinations
of these components. We have configured a typical one in servicemix.xml so as to
enable the client to send messages through this pipeline to the remote HTTP service.
When the client sends a message to the ServiceMix ESB, it reaches the NMR through
the httpReceiver component. The destinationService for httpReceiver is httpGetData,
hence the message is routed to httpGetData. However, httpGetData is an invoker to
the remote HTTP Service.
Pages:
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133