Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C0EFFE3D3 for ; Mon, 3 Dec 2012 15:21:59 +0000 (UTC) Received: (qmail 29852 invoked by uid 500); 3 Dec 2012 15:21:59 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 29790 invoked by uid 500); 3 Dec 2012 15:21:59 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 29782 invoked by uid 99); 3 Dec 2012 15:21:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2012 15:21:59 +0000 Date: Mon, 3 Dec 2012 15:21:59 +0000 (UTC) From: "Luca Burgazzoli (JIRA)" To: issues@camel.apache.org Message-ID: <610130359.53571.1354548119097.JavaMail.jiratomcat@arcas> In-Reply-To: <190617518.28603.1354038838092.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CAMEL-5827) camel-bindy - Handle implied-decimal values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-5827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luca Burgazzoli updated CAMEL-5827: ----------------------------------- Attachment: (was: camel-bindy-implied.patch) > camel-bindy - Handle implied-decimal values > ------------------------------------------- > > Key: CAMEL-5827 > URL: https://issues.apache.org/jira/browse/CAMEL-5827 > Project: Camel > Issue Type: New Feature > Components: camel-bindy > Reporter: Luca Burgazzoli > Priority: Minor > Fix For: 2.11.0 > > Attachments: camel-bindy-implied.patch > > > The communication with some legacy systems often relies on old protocols and formats not easy to change and among that you may have to deal with fixed lenght records on which decimal numbers are not represented with a decimal separator but the number of decimal places is defined by the protocol definition (e.g. COBOL copy-book). > Example: > @DataField(pos = 1, length = 5, precision = 2, implied-decimal-separator = true) > private BigDecimal amount; > The string "12345" maps to 123.45 in Java. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira