...
Lightweight components are components that can be configured using activation specs in the servicemix.xml configuration file.
Standard JBI components can be deployed at run-time and accept service units deployments. These components may in addition provide a way to configure them in a lightweight fashion.
Note that the servicemix-lwcontainer is a standard JBI component which is able to deploy lightweight components so that you can add / remove lightweight components at run-time.
A component can act as two different roles with respects to JBI MessageExchanges. In a given exchange, the originator component is said to be the consumer and the target component is said to be the provider.
The JBI spec defines service invocation as an instance of an interaction between a service consumer and a service provider. The following are the four service invocation patterns are required to be supported by any JBI implementation:
...
Below is a matrix of ServiceMix components and the JBI MEPs supported by each.
| Type | Description | One-Way | Reliable One-Way Role | MEPs | Class name | ||
---|---|---|---|---|---|---|---|---|
Cache | LW SE |
| Mixed | Request- | Response Request Optional-Response | |||
Cache | LW SE |
|
|
|
|
| ||
Response | o.a.s.components.cache.CacheComponent | |||||||
Drools | LW SE |
| Mixed | One-Way | o.a.s.components.drools.DroolsComponent | |||
LW BC |
| Consumer | One-Way | o.a.s.components.email.MimeMailSender | Drools | LW SE |
| |
|
|
| Consumer | One-Way | o.a.s.components.email.SimpleMailSender LW BC | |||
|
|
| Provider |
| One-Way | o.a.s.components.email.MimeMailPoller | ||
File | LW BC |
| Consumer | One-Way | o.a.s.components.file.FileSender | |||
File | LW BC | LW BC |
|
| Provider |
| One-Way | o.a.s.components.file.FilePoller |
FTP | LW BC LW BC |
|
|
| Consumer / Provider | One-Way |
| |
Groovy | LW SE LW SE |
|
|
|
|
| ||
HTTP | LW BC | LW BC |
|
|
|
| ||
Jabber | LW BC | LW BC |
|
|
|
| ||
JAX WS |
|
|
|
|
| |||
JCA |
|
|
|
|
| |||
JMS | LW BC | LW BC |
|
|
|
| ||
PXE | JBI SE JBI SE | BPEL Engine |
|
|
|
| ||
Quartz | LW SE | LW SE |
|
|
|
| ||
Reflection | LW SE | LW SE |
|
|
|
| ||
RSS | LW BC | LW BC |
|
|
|
| ||
SAAJ | LW BC | LW BC |
|
|
|
| ||
Scripting | LW SE | LW SE |
|
|
|
| ||
servicemix-http | JBI BC JBI BC | HTTP binding |
|
| Consumer / Provider | One-Way / Request-Response |
| |
servicemix-jms | JBI BC JBI BC | JMS binding |
|
| Consumer / Provider | One-Way / Request-Response |
| |
servicemix-jsr181 | JBI SE JBI SE | Hosts annotated POJOs |
| Provider | One-Way / Request-Response |
|
| |
servicemix-lwcontainer | JBI SE JBI SE | Hosts lighweight components |
|
| n.a. | n.a. |
| |
servicemix-sca | JBI SE JBI SE | Container for SCA modules | Consumer / Provider |
|
|
| ||
servicemix-wsn2005 | JBI SE JBI SE | WS-Notification |
|
| Consumer / Provider | n.a. |
| |
Validation | LW SE | LW SE |
|
|
|
| ||
XFire | LW |
|
|
|
| |||
XPath Routing | LW SE | LW SE |
|
|
|
| ||
XSLT | LW SE | LW SE |
|
|
|
| ||
XSQL | LW BC | LW BC |
|
|
|
| ||
VFS | LW BC | LW BC |
|
|
|
| ||
WSIF | LW BC | LW BC |
|
|
|
|