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 CCF52200BC5 for ; Tue, 22 Nov 2016 10:18:42 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CBB89160B0C; Tue, 22 Nov 2016 09:18:42 +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 DCACE160B0A for ; Tue, 22 Nov 2016 10:18:41 +0100 (CET) Received: (qmail 29321 invoked by uid 500); 22 Nov 2016 09:18:41 -0000 Mailing-List: contact commits-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 commits@camel.apache.org Received: (qmail 29292 invoked by uid 99); 22 Nov 2016 09:18:41 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2016 09:18:41 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id F41B5DFF75; Tue, 22 Nov 2016 09:18:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: acosentino@apache.org To: commits@camel.apache.org Date: Tue, 22 Nov 2016 09:18:40 -0000 Message-Id: <28214fd529f449c49aceb478393ba1ed@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/6] camel git commit: Fixed ChronicleEngineProducer After upgrade archived-at: Tue, 22 Nov 2016 09:18:42 -0000 Repository: camel Updated Branches: refs/heads/master fc447e8ba -> 603dfb48a Fixed ChronicleEngineProducer After upgrade Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/603dfb48 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/603dfb48 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/603dfb48 Branch: refs/heads/master Commit: 603dfb48a6f0aa5a091f82c40e585a5d2b46eda8 Parents: 3c39c35 Author: Andrea Cosentino Authored: Tue Nov 22 10:18:01 2016 +0100 Committer: Andrea Cosentino Committed: Tue Nov 22 10:18:22 2016 +0100 ---------------------------------------------------------------------- .../camel/component/chronicle/engine/ChronicleEngineProducer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/603dfb48/components/camel-chronicle/src/main/java/org/apache/camel/component/chronicle/engine/ChronicleEngineProducer.java ---------------------------------------------------------------------- diff --git a/components/camel-chronicle/src/main/java/org/apache/camel/component/chronicle/engine/ChronicleEngineProducer.java b/components/camel-chronicle/src/main/java/org/apache/camel/component/chronicle/engine/ChronicleEngineProducer.java index 9d41799..c8513d4 100644 --- a/components/camel-chronicle/src/main/java/org/apache/camel/component/chronicle/engine/ChronicleEngineProducer.java +++ b/components/camel-chronicle/src/main/java/org/apache/camel/component/chronicle/engine/ChronicleEngineProducer.java @@ -147,7 +147,7 @@ public class ChronicleEngineProducer extends HeaderSelectorProducer { message.getHeader(ChronicleEngineConstants.DEFAULT_VALUE)) ); } else { - QueueView.Excerpt excerpt = queueView.get().get(index.longValue()); + QueueView.Excerpt excerpt = queueView.get().getExcerpt(index.longValue()); message.setHeader(ChronicleEngineConstants.PATH, excerpt.topic()); message.setBody(excerpt.message());