Petals-BC-SQL 1.1.1

Version 1 by Laurent Lacôte
on Sep 28, 2010 11:38.

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (8)

View Page History
{note}The SQL component executes SQL instructions, limited to the Data Manipulation Language, using JDBC.
it acts only as a service provider.
It acts only as a service provider.{note}

{section}

h3. Execute Operation
When the {noformat}execute{noformat} {{execute}} operation is set on the incoming message exchange, the component performs the SQL instructions contained in the IN message. If the execution returns information (an SQL SELECT for example), the OUT message contains the SQL ResultSet.
{info}If you want to see extra information on the response, you can set the show-metadata attribute to true. The response will contains row index, column name and type.{info}
The IN message looks like :
| forward-message-properties \\ | Defines if the message properties will be forwarded. | false \\ | No \\ |
| forward-security-subject \\ | Defines if the security subject will be forwarded. | false \\ | No \\ |
| exchange-property - org.ow2.petals.router.provider.noack | Check Petals documentation for further details. This property activates the bypass of acknowledgement messages destinated to this SU. Can be used for MEPs {{RobustInOnly}}, {{InOut}} and {{InOptionalOut}}. | \- | bound to {{retrypolicy}} |
| org.ow2.petals.transport.compress | {warning}To be used only in distributed setup of Petals ESB. Check Petals ESB documentation for further details.{warning} This property activates the compression of the message payload when set to {{true}}. | true | No |
{table-plus}
{petalslink}{include:0 CDK SU Provide Configuration}{petalslink}

h1. Component Configuration
{note}Caution The {note}Caution: the component requires at least a JDBC Shared Library. Please install first a valid Shared Library containing your database JDBC driver. Then you can configure your component by using PEtALS maven plugin with the goal jbi:configure or the PEtALS Ant task petals-configure-component.{note}
jbi:configure or the PEtALS Ant task petals-configure-component.{note}

The following attributes can be set during the installation phase to configure the component, using the params element of the jbi-install-component ANT task:
{petalslink}{include:0 CDK Parameter scope}{petalslink}






{column}
{column:width=25%}