camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5198) Implement connection pooling in jt400 component
Date Mon, 04 Jun 2012 18:02:22 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288750#comment-13288750
] 

Claus Ibsen commented on CAMEL-5198:
------------------------------------

A producer should generally be thread safe to allow concurrency, if not you would need to
mark it as so, so Camel knows this. For example the ftp producer has similar issue, as the
ftp client is not thread safe.
                
> Implement connection pooling in jt400 component
> -----------------------------------------------
>
>                 Key: CAMEL-5198
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5198
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.9.2
>         Environment: i5/OS servers
>            Reporter: João Loureiro
>              Labels: camel-jt400, jt400
>             Fix For: 2.10.0
>
>         Attachments: patch_v2.txt
>
>
> Instead of eagerly obtaining a new connection to the AS/400 system, Endpoint instances
request one from a connection pool. Users can specify that their own connection pool be used,
or let Camel provide one (default behaviour).
> Functionally speaking, this feature does not introduce any change (it can be viewed as
an optimization in advanced usage scenarios).
> Thread safety: the producers/consumers, which were inherently thread-safe, became not
thread-safe in regard to their start/stop lifecycle.
> The following text can be used as the documentation for the new URI option:
> *Name*
> {{connectionPool}}
> *Default value*
> {{AS400ConnectionPool}} instance
> *Description*
> *Camel 2.10:* Reference to an {{com.ibm.as400.access.AS400ConnectionPool}} instance in
the Registry. This is used for obtaining connections to the AS/400 system. The look up notation
('#' character) should be used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message