Professional Documents
Culture Documents
You can set the Minimum pool size to ‘0’ which will avoid stale connection being
held. But if you have lot of communication that happens with db continuously, you
can have minimum as ‘1’ which will reduce the burden of creation of conn object…
Maximum pools should be based on the maximum volume of transaction that can
hit your environment, and usage of db…
Enable connection pooling “True”
Min pool size is 1
Max pool size is 10 in our organisation
Block time out 1000msec
refers to how much time the IS should wait to get connection from connection pool before throwing
exception.
Expire timeout 1000msec
refers to how much time the free connection stay as it is before it expires.
Stateless: server removes the client session immediately after service executions
completed
Cache results: server store the service result in a local cache for the time period
specified in the cache expire property
Cache expire: The server maintains results in cache for the period of time you
specify in the Cache expire property on the Properties panel. The expiration timer
begins when the server initially caches a result, and it expires when the time you
specify elapses. (The server does not reset the expiration timer each time it satisfies a
service request with a cached result.) The minimum cache expiration time is one
minute
Block timeout: refers to how much time the IS should wait to get
connection from connection pool before throwing exception.
Expire Timeout: refers to how much time the free connection stay as it
is before it expires.
PUBLIC
The time-to-live value for a publishable document type determines how
long instances of that document type remain on the Broker. The time-to-
live commences when the Broker receives a document from a
publishing Integration Server. If the time-to-live expires before the
Broker delivers the document and receives an acknowledgement of
document receipt, the Broker discards the document. This happens for
volatile as well as guaranteed documents.
JDBC Adapter
PUBLIC
occurred on a particular database table. For example, an adapter
notification could notify the Integration Server when an update
operation was performed on a particular database table
AdapterServiceType Description
SelectSQL Retrieves specified information from a database
table.
InsertSQL Inserts new information into a database table.
UpdateSQL Updates existing information in a database table and
includes a mapping for an output field that stores the number of
affected rows.
BatchInsertSQL Inserts new information into a database table. Use
this service when you will be inserting a large volume of data into a
single table. The data source for the service can be from a flat file
or from other services that generate an Integration Server document
list.
BatchUpdateSQL Updates information in a database table when
dealing with a large volume of data. Use this service when you will
PUBLIC
be updating a large volume of data in a single table. The data source
for the service can be from a flat file or from other services that
generate an Integration Server document list.
DeleteSQL Deletes rows from a table and includes a mapping for an
output field that stores the number of affected rows.
CustomSQL Defines and executes custom SQL to perform database
operations. You can execute almost any SQL statement required by
integrations, such as data management statements.
DynamicSQL Defines and executes a SQL statement, part of which
you set at run time through the input field.
StoredProcedure Calls a stored procedure to perform database
operations.
In Custom SQL, you can pass inputs to your SQL query at runtime.
With DynamicSQL, you can pass your entire SQL statement, or part
of your SQL statement can be passed at runtime; along with inputs
to it. So basically you can build your SQL dynamically at runtime.
You use Custom SQL when SQL query is fixed with input variable
that are passed to the custom adapter service. You use dynamic
SQL, if SQL query changes during the runtime; in this cases you
prepare the sql query and pass it to dynamic adapter service in the
runtime.
Custom SQL and Dynamic SQL we have to write the queries
explicitly. The main difference between Custom SQL and Dynamic
SQL is; in Custom SQL we can give the input values at design time.
In Dynamic SQL we can give the input values at run time.
Custom SQL is faster than the Dynamic SQL because Custom SQL
is pre-compiled (at design time) but dynamic SQL is not pre-
compiled (compiled at runtime).
Dynamic SQL is more versatile than the Custom SQL.
PUBLIC
For StoredProcedure services, the adapter service executes a stored
procedure against the database.
The join type that you specify for a join condition determines whether
the Integration Server needs to receive all, any, or only one of the
documents to execute the trigger service. The following table describes
the join types that you can specify for a condition.
All (AND) The Integration Server invokes the associated trigger service
when the server receives an instance of each specified publishable
document type within the join time-out period. The instance documents
must have the same activation ID. This is the default join type.For
example, suppose that a join condition specifies document types A and
B and C. Instances of all the document types must be received to
satisfy the join condition. Additionally, all documents must have the
same activation ID and must be received before the specified join time-
out elapses.
PUBLIC
For my reference: All documents should have same activation id and all
should publish then only it will work. If publish one document and
another is not published it trigger will not execute.
Any (OR) The Integration Server invokes the associated trigger service
when it receives an instance of any one of the specified publishable
document types.
For example, suppose that the join condition specifies document types
A or B or C. Only one of these documents is required to satisfy the join
condition. The Integration Server invokes the associated trigger service
every time it receives a document of type A, B, or C. The activation ID
does not matter. No time-out is necessary.
Only one (XOR) The Integration Server invokes the associated trigger
service when it receives an instance of any of the specified document
types. For the duration of the join time-out period, the Integration Server
discards (blocks) any instances of the specified publishable document
types with the same activation ID. For example, suppose that the join
condition specifies document types A or B or C. Only one of these
documents is required to satisfy the join condition. It does not matter
which one. The Integration Server invokes the associated trigger
service after it receives an instance of one of the specified document
types. The integration Server continues to discards of any qualified
document types with the same activation ID until the specified join time-
out elapses.
Only one document type is executed not all. Only one document with
different activation is’s also work but it will not execute if send 2nd
document type
PUBLIC