You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Seiji Sogabe (JIRA)" <ji...@apache.org> on 2014/09/26 17:30:35 UTC
[jira] [Created] (CAMEL-7866) barcodeFormat is always QR_CODE
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)