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

camel-jt400: add support for keyed data queues

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 2.10.0
    • None
    • JVM / IBM iSeries

    • Patch Available
    • Moderate

    Description

      The current DTAQ support is limited to non-keyed data queues. I have created a patch that adds support for keyed data queues. Configuration is done via options on the endpoint, which is the standard.

      When writing to a keyed data queue, the message header "KEY" must contain the desired message key. This can be binary or text, depending upon the Format used.

      When reading from a keyed data queue, the searchKey and searchType must be set.

      Example endpoint configurations
      ------------------------------
      Writing to keyed data queue from JMS
      from("jms:queue:input").
      to("jt400://username:password@system/lib.lib/MSGINDQ.DTAQ?keyed=true");
      ------------------------------
      Reading from keyed data queue to JMS
      from("jt400://username:password@system/lib.lib/MSGOUTDQ.DTAQ?keyed=true&searchKey=MYKEY&searchType=GE").
      to("jms:queue:output");
      ------------------------------

      In addition, I have added the iSeries DTAQ Sender Information to the message header for messages read from a DTAQ.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            jcostello Jeff Costello
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified