Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 16455 invoked from network); 15 Jan 2009 14:43:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jan 2009 14:43:31 -0000 Received: (qmail 21021 invoked by uid 500); 15 Jan 2009 14:43:27 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 21005 invoked by uid 500); 15 Jan 2009 14:43:27 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 20994 invoked by uid 99); 15 Jan 2009 14:43:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 06:43:26 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 14:43:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3D9FF234C495 for ; Thu, 15 Jan 2009 06:43:04 -0800 (PST) Message-ID: <884068943.1232030584250.JavaMail.jira@brutus> Date: Thu, 15 Jan 2009 06:43:04 -0800 (PST) From: "James Strachan (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Issue Comment Edited: (CAMEL-1261) camel-spring - method call language can not be used with split In-Reply-To: <1711577523.1232026499381.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48729#action_48729 ] jstrachan edited comment on CAMEL-1261 at 1/15/09 6:42 AM: ---------------------------------------------------------------- kinda conflused by this - as SplitterType is an ExpressionNode (just like filter, when) so it should allow expressions as children? {code} {code} this works for me in IntelliJ. Indeed there's a test case splitterWithCustomThreadPoolExecutor.xml in camel-spring was (Author: jstrachan): kinda conflused by this - as SplitterType is an ExpressionNode (just like filter, when) so it should allow expressions as children? {code> {code} this works for me in IntelliJ. Indeed there's a test case splitterWithCustomThreadPoolExecutor.xml in camel-spring > camel-spring - method call language can not be used with split > -------------------------------------------------------------- > > Key: CAMEL-1261 > URL: https://issues.apache.org/activemq/browse/CAMEL-1261 > Project: Apache Camel > Issue Type: Bug > Components: camel-core, camel-spring > Affects Versions: 1.5.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 1.5.1, 2.0.0 > > > Using a method call for the split expression is not possible in Spring DSL. It wants to resolve the language. > As we dont have all the expression builder helper in Spring XML its a bit harder to do routing. But I want to use a bean for the splitting. End users should always have the true power of java, regardless. > {code} > > > > > > > > {code} > And gives this exception: > {code} > 2009-01-15 14:15:18,831 [ing.Main.main()] ERROR MainSupport - Failed: org.apache.camel.NoSuchLanguageException: No language could be found for: null > org.apache.camel.NoSuchLanguageException: No language could be found for: null > at org.apache.camel.impl.DefaultLanguageResolver.noSpecificLanguageFound(DefaultLanguageResolver.java:72) > at org.apache.camel.impl.DefaultLanguageResolver.resolveLanguage(DefaultLanguageResolver.java:52) > at org.apache.camel.impl.DefaultCamelContext.resolveLanguage(DefaultCamelContext.java:430) > at org.apache.camel.model.language.ExpressionType.createExpression(ExpressionType.java:158) > at org.apache.camel.model.SplitterType.createProcessor(SplitterType.java:86) > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.