Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5198

Implement connection pooling in jt400 component

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.2
    • 2.10.0
    • None
    • i5/OS servers

    • Patch Available
    • Unknown

    Description

      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.

      Attachments

        1. patch_v2.txt
          57 kB
          João Loureiro

        Activity

          People

            davsclaus Claus Ibsen
            jloureiro João Loureiro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: