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 B4BE7E596 for ; Mon, 17 Dec 2012 21:48:14 +0000 (UTC) Received: (qmail 22474 invoked by uid 500); 17 Dec 2012 21:48:14 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 22447 invoked by uid 500); 17 Dec 2012 21:48:14 -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 22438 invoked by uid 99); 17 Dec 2012 21:48:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2012 21:48:14 +0000 Date: Mon, 17 Dec 2012 21:48:14 +0000 (UTC) From: "Oleg Kozlov (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-5803) Scala DSL splitter does not support tokenizeXML 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-5803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534339#comment-13534339 ] Oleg Kozlov commented on CAMEL-5803: ------------------------------------ I actually have a use case where I need to use split() with tokenize() by a different character (";") and my application is using Scala DSL, a patch or a fix in the next build would be super helpful! Thanks! > Scala DSL splitter does not support tokenizeXML > ----------------------------------------------- > > Key: CAMEL-5803 > URL: https://issues.apache.org/jira/browse/CAMEL-5803 > Project: Camel > Issue Type: Improvement > Components: camel-scala > Affects Versions: 2.10.2 > Reporter: Jason Chaffee > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.10.3, 2.11.0 > > > The Scala DSL does not properly support the splitter for tokenize and tokenizeXML. The DSL should be modified to allow this: > {code} > from("direct:a").split().tokenizeXML("order").parallelProcessing().streaming().to("direct:test") > {code} > or this: > {code} > from("direct:a").split().tokenize("\n").parallelProcessing().streaming().to("direct:test") > {code} -- 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