Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D4B47E5C9 for ; Fri, 18 Jan 2013 16:17:40 +0000 (UTC) Received: (qmail 47011 invoked by uid 500); 18 Jan 2013 16:17:40 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 46930 invoked by uid 500); 18 Jan 2013 16:17:40 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 46880 invoked by uid 99); 18 Jan 2013 16:17:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2013 16:17:38 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of erstanl@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2013 16:17:32 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TwEcx-0004Yh-EQ for users@camel.apache.org; Fri, 18 Jan 2013 08:17:11 -0800 Date: Fri, 18 Jan 2013 08:17:11 -0800 (PST) From: erstanl To: users@camel.apache.org Message-ID: <1358525831430-5725772.post@n5.nabble.com> Subject: Spring XML configuration variables MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Sorry if this is the wrong forum for this question. I am trying to build a camel route that consumes from a JMS queue and uses a selector. The problem is, I would like to use a selector based upon a spring variable. I can't seem to convince spring/camel to dereference that variable. What am I missing? This is the config: ${header.correlationId} This is the error: javax.jms.InvalidSelectorException: correlatorId=${header.correlatorId} Thanks for any info. Im hoping this is a rather common simple problem. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Spring-XML-configuration-variables-tp5725772.html Sent from the Camel - Users mailing list archive at Nabble.com.