Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 44C96200BDA for ; Tue, 13 Dec 2016 09:18:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 43537160B23; Tue, 13 Dec 2016 08:18:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8C344160B15 for ; Tue, 13 Dec 2016 09:18:46 +0100 (CET) Received: (qmail 63559 invoked by uid 500); 13 Dec 2016 08:18:45 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 63547 invoked by uid 99); 13 Dec 2016 08:18:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2016 08:18:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 91AF2180254 for ; Tue, 13 Dec 2016 08:18:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.994 X-Spam-Level: X-Spam-Status: No, score=0.994 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 4Nmx9mYrcQZ4 for ; Tue, 13 Dec 2016 08:18:41 +0000 (UTC) Received: from mail-qt0-f180.google.com (mail-qt0-f180.google.com [209.85.216.180]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id BC9FB60E3B for ; Tue, 13 Dec 2016 08:18:40 +0000 (UTC) Received: by mail-qt0-f180.google.com with SMTP id n6so100069181qtd.1 for ; Tue, 13 Dec 2016 00:18:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Pk7prvLsHuXjC7jxCI67GTGYqXgO8la2X7BOVr8hyyE=; b=Tdh3XGV9dcGkrzK2pScBZzgu+hzw+7m9pvnE4pA9EZVokd3O3SOKz40+inuUKJD+Mf EJD/3iPTfavTKnO5UylamD4DgnmMKfiz/ROdY6aScPJLgrnV9qSmdy6QCe8x4BqpJNUR WSWVzOGshEnpiFXZq9UvElKdP+SBUABHeYvOqHO9VqnTgP2FDI1vZsvW1Bm3H+UCeWCM IMd3mAwwhg1c2YwrRzNyuMa69z7Yj1WfJXtnWMqSJNs0uOqg/eEVL14XXFWsgsjr9Ydw tV/hGBgn06/fIxISnhGK/DzzRK3QosonNDQQSR5yreS+SZjYSlZEXE628eLSOEgghLkC JvTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Pk7prvLsHuXjC7jxCI67GTGYqXgO8la2X7BOVr8hyyE=; b=gRbBiGya+mmFeSP9FmxHYd35d5yBnnTklg0x6WeNDHQ0kS1zRDRyh8LoF+Vuxb5LQU woGC4KsPVqWuzfkicwRen9pKVv3gCRlyFieo4Udfu4WEeGO+DkuomeZmknE6Zpux77gW wTgJlZFlwXbYx5cSESGK76433GXVArnMEDfCK2f54/+ZNGjY1PDW0DH5YHa4Bi8IVfGh Jom/xJ3TaFvkcdhlDtg+RzyISijD3zYvlr8B1Spjb36S73CUN2d80A6Yb2lCvYMMUJCa kCN0wOUgpwCZyvlUJ/CIgS/6jXBV1LY/tocstTEAI2QChDCcDBgYOtqL8zYOe7+ud/JD ZlIw== X-Gm-Message-State: AKaTC02TbSPkGJ2R1ajaYE16Z89/g5uEB3Wxiw4TyeVzWDeWMzlGTGymw50f4ZrefOc10jP5O9RRz6qFj+nC0A== X-Received: by 10.200.56.186 with SMTP id f55mr81437726qtc.75.1481617120348; Tue, 13 Dec 2016 00:18:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.58.162 with HTTP; Tue, 13 Dec 2016 00:18:19 -0800 (PST) In-Reply-To: <1481609682237-4720237.post@n4.nabble.com> References: <1481609682237-4720237.post@n4.nabble.com> From: Claus Ibsen Date: Tue, 13 Dec 2016 09:18:19 +0100 Message-ID: Subject: Re: cameRoutesBrokerPlugin namespace question To: users@activemq.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Tue, 13 Dec 2016 08:18:47 -0000 We have added support for namespaces in in next Camel 2.18.x and 2.19.0 releases. On Tue, Dec 13, 2016 at 7:14 AM, mtod wrote: > I'm working with ActiveMQ 5.14.1 and trying to get the > camelRoutesBrokerPlugin to work with namespaces. > > when I setup a routes.xml file that uses the following: > > xmlns:km="http://xsdrepo.xxxx.com/messaging/esb" > > > > > uri="validator:http://xsdrepo.xxxx.com/messaging/esb/ESBMessageV3.xsd"/> > > resultType="String">/km:FMIMessage/km:Header/km:Route/text() > > >
Route1
>
> > org.apache.camel.ValidationException > > ${exception.message} > > > >
>
>
> > And send a message to the esb.testit queue I receive a namespace error : > Prefix must resolve to a namespace: km > > Normally using an import with a cameContext I would place the namespace in > the camelContext element. > > such as : > > xmlns="http://camel.apache.org/schema/spring" > xmlns:km="http://xsdrepo.xxxx.com/messaging/esb"> > > > That would work fine but with the plugin I don't seem to have that option. > > Is there a way to add a namespace to the routes.xml camel file? > > Thanks > > Mike > > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/cameRoutesBrokerPlugin-namespace-question-tp4720237.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2