camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seiji Sogabe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7866) barcodeFormat is always QR_CODE
Date Fri, 26 Sep 2014 15:30:35 GMT
Seiji Sogabe created CAMEL-7866:
-----------------------------------

             Summary: barcodeFormat is always QR_CODE
                 Key: CAMEL-7866
                 URL: https://issues.apache.org/jira/browse/CAMEL-7866
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.14.0
         Environment: Spring XML
            Reporter: Seiji Sogabe


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

{code: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>
{code}


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message