Petals-BC-SQL 1.2.X

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

Changes (13)

View Page History
\\
When the {{storedProcedure}} operation is set on the incoming exchange, the component extracts the list of IN or/and INOUT parameter(s) set in the request. Then, it performs the stored procedure.
The OUT message contains the list of INOUT or/and OUT parameter(s) returned by the stored procedure, in a raw form.
Example of a IN message :
{code:xml}
Example of a OUT message containing INOUT or/and OUT parameter(s) :
{code:xml}
<storedProcedure xmlns="http://petals.ow2.org/components/sql/version-1">2:INOUT:5;4:OUT:true</storedProcedure>
<parameter rank="2">5</parameter>
<parameter rank="4">true</parameter>
</storedProcedure>
{code}

\\
When the {{storedProcedure}} operation is set on the incoming exchange, the component extracts the list of IN or/and INOUT parameter(s) set in the request. Then, it performs the stored procedure.
The OUT message contains the list of INOUT or/and OUT parameter(s) returned by the stored procedure, in a XML structured form.
Example of a IN message :
{code:xml}
{table-plus}


|| Parameter || Description || Default || Required ||
| provides | Describe the JBI service that will be exposed into the JBI bus. Interface (QName), Service (QName) and Endpoint (String) attributes are required. | {center}\-{center} | {center}Yes{center} |



{petalslink}{include:0 CDK SU Provide Configuration}{petalslink}
\\




h3. Service Unit descriptor





h3. Service Unit content




h1. Component Configuration
{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}



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:

{table-plus}

{table-plus}





|| {color:#333333}Parameter{color} || {color:#333333}Description{color} || {color:#333333}Default{color} || {color:#333333}Required{color} || {color:#333333}Required{color} ||
| acceptor-pool-size | The size of the thread pool used to accept Message Exchanges from the NMR. Once a message is accepted, its processing is delegated to the processor pool thread. | 3 | Yes | Runtime |

{table-plus}

{table-plus}
{petalslink}{include:0 CDK Component Configuration Table}{petalslink}