In this chapter
we are going to address programming and/or deployment concerns which can be
applied across any or all of the binding mechanisms covered in the other chapters.
Just as it is possible in normal programming such as web component development
or server-side business component development, we can also attach various QOS
features to the component deployment model in ServiceMix. The peculiar thing with
these QOS features is that they are not hardwired through code along with the BCs
or SEs, but applied over the components in a declarative manner. The advantage is
that the characteristics of these QOS features can be easily changed by altering the
particular configuration.
Let us now look into the selected QOS features and their support within ServiceMix.
Transactions
Transactions guarantee atomicity of the operations (message flows) between the
components. We know that various components can be plugged into the JBI bus
which can take part in the message exchange. Transactions can be associated with
these message exchange flows. The scope and synchronicity of these transactions
mainly depends upon which "send" primitive we use to exchange messages
between components.
Pages:
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482