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

barcodeFormat is always QR CODE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.14.0
    • Fix Version/s: 2.14.1, 2.15.0
    • Component/s: camel-barcode
    • Labels:
    • Environment:

      Spring XML

    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      I'm testing the camel-barcode component with the following Spring XML.

          <camelContext xmlns="http://camel.apache.org/schema/spring">
              <dataFormats>
                  <barcode id="QR_CODE" width="200" height="200" imageType="JPG" barcodeFormat="QR_CODE"/>
                  <barcode id="PDF_417" width="200" height="200" imageType="JPG" barcodeFormat="PDF_417"/>
              </dataFormats>
      
              <route>
                  <from uri="direct:QR_CODE"/>
                  <marshal ref="QR_CODE"/>
                  <to uri="file:target/out?fileName=qr_code.jpg"/>
              </route>
          
              <route>
                  <from uri="direct:PDF_417"/>
                  <marshal ref="PDF_417"/>
                  <to uri="file:target/out?fileName=pdf_417.jpg"/>
              </route>    
          </camelContext>
      

      But pdf_417.jpg seems to be QR CODE, not PDF 417.

        Attachments

        1. pdf_417.jpg
          10 kB
          Seiji Sogabe
        2. qr_code.jpg
          10 kB
          Seiji Sogabe

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              ssogabe Seiji Sogabe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: