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 2779F200B64 for ; Tue, 2 Aug 2016 19:02:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 26109160A76; Tue, 2 Aug 2016 17:02:17 +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 6E605160A65 for ; Tue, 2 Aug 2016 19:02:16 +0200 (CEST) Received: (qmail 71145 invoked by uid 500); 2 Aug 2016 17:02:15 -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 71132 invoked by uid 99); 2 Aug 2016 17:02:15 -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, 02 Aug 2016 17:02:15 +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 A92251858EE for ; Tue, 2 Aug 2016 17:02:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-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 lWB5yDavKeQQ for ; Tue, 2 Aug 2016 17:02:13 +0000 (UTC) Received: from mail-io0-f174.google.com (mail-io0-f174.google.com [209.85.223.174]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 9041D5FB00 for ; Tue, 2 Aug 2016 17:02:13 +0000 (UTC) Received: by mail-io0-f174.google.com with SMTP id b62so218531067iod.3 for ; Tue, 02 Aug 2016 10:02:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=BkLZdKVRTnmvPJKGewEy3d4Gvos8ilTKXL/+L/bL4PM=; b=c6ySeFDD9YzElPO9f+iao24MkHDD9N3ykb7vqdr0XbFyjEkkvL+Q2FZnAIM4h1abBF uRutEuQMSdxeWvsV3/AlRchf2hYmgc3QwFJFiky6wGfhGDvhP9jYuV63zjrZkOAbawlL q+BLBg1kQ4/mz79lJo7qPehWVNiUwrs9jhR4vFa6o/Zvng36x5VjDFFF/NW6wXaF8KQw j74skaCYsWvJxXcr7RnhE1jJ0gOCbrv8BqbciJJs8Y4kAnn2EnYNBxbbu7GsjQ2PZX5Y pO2q+GOotpYLxmp4IREai9GASBXHp4WukVgl95tnhF5UlLDsM84cRGime99rx5egs2JI kObw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BkLZdKVRTnmvPJKGewEy3d4Gvos8ilTKXL/+L/bL4PM=; b=YxsMbOV7JowI7cSyN7jf1EkQqm5REy8z9FR16zpLSaVTMWngElcLSMJy0pG++GDK2+ 4M45Es38NPbfvN2I2TYvmT0LyTTyWn5bch9RsAEOUmcT1p5fJUl386Ep4sjNzJ5+DIhz R8ItymN9/pS1pAADbHgTBc3kH9uOqhyuamuIAb782C5guR/EKGJVyT6RvnqDc0+NekKT dW+5WmwYENJpsz4fpH8AyEGPeEMhBJrVZedeEOgvMAcfey2A9HvUclCBivBiIGHvQACs 13256BCKugXqyVC9IIYyVUAFhblwF32NmYGW1QVBuKynAS8e4kUyvmf9LAVnTJJtxref YnVQ== X-Gm-Message-State: AEkoouv/PUeDxYiI/KsfNJ34ENK81AuLliy/MOuwm4U3frS7QmDAiPNM1M6NmEZe94Yrp1WzeGnGprZ8P7ldRA== X-Received: by 10.107.147.138 with SMTP id v132mr63704189iod.27.1470157332921; Tue, 02 Aug 2016 10:02:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.118.90 with HTTP; Tue, 2 Aug 2016 10:02:12 -0700 (PDT) From: James Green Date: Tue, 2 Aug 2016 18:02:12 +0100 Message-ID: Subject: MockEndpoint header test seems wrong To: users Content-Type: multipart/alternative; boundary=94eb2c05617a97c568053919ad42 archived-at: Tue, 02 Aug 2016 17:02:17 -0000 --94eb2c05617a97c568053919ad42 Content-Type: text/plain; charset=UTF-8 Hi, In my test I have: mockEndpoint.allMessages().header("SomeKey").isInstanceOf(SomeClazz.class); Which should fail, as the route sets SomeKey as a Property of the Exchange, not a Header. I have scanned the code base several times for SomeKey to be set as a Header but I cannot find such a thing which leads me to suspect the test method itself... Camel version: 2.17.0. Thanks, James --94eb2c05617a97c568053919ad42--