Supports WS-Addressing.
Support for all MEPs in the consumer or the provider role.
??? ??? ??? ??? ??? ???
Access Web Services Using the JMS Channel
[ 204 ]
Consumer and Provider Roles
servicemix-jms can be configured both as a consumer and a provider of services.
Similar to servicemix-http, these roles are with respect to the NMR of the ESB.
In other words, a consumer role implies that the component is a consumer to
the NMR whereas a provider role implies that the NMR is the consumer to the
component. Based on these roles, the NMR will take responsibility of any format or
protocol conversions for the interacting components. You can refer to the Consumer
and Provider Roles section in Chapter 10 to understand more on the contract and
responsibility of these roles.
servicemix-jms XBean Configuration
The servicemix-jms component supports the XBean-based deployment. Since the
servicemix-jms component can be configured in both the consumer and provider
roles, we have two sets of configuration parameters for the component. Let us look
into the main configuration parameters listed as follows:
servicemix-jms as consumer: A sample servicemix-jms consumer
component configuration is shown as follows:
endpoint="myConsumer"
role="consumer"
soap="true"
targetService="test:pipeline"
defaultMep="http://www.
Pages:
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290