Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7BE2117C78 for ; Fri, 7 Nov 2014 14:25:34 +0000 (UTC) Received: (qmail 43541 invoked by uid 500); 7 Nov 2014 14:25:34 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 43501 invoked by uid 500); 7 Nov 2014 14:25:34 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 43485 invoked by uid 99); 7 Nov 2014 14:25:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2014 14:25:34 +0000 Date: Fri, 7 Nov 2014 14:25:33 +0000 (UTC) From: "Akitoshi Yoshida (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CAMEL-8012) camel-stream's scanStream mode should read available lines before going to delay MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Akitoshi Yoshida created CAMEL-8012: --------------------------------------- Summary: camel-stream's scanStream mode should read available lines before going to delay Key: CAMEL-8012 URL: https://issues.apache.org/jira/browse/CAMEL-8012 Project: Camel Issue Type: Improvement Components: camel-stream Affects Versions: 2.14.0 Reporter: Akitoshi Yoshida Assignee: Akitoshi Yoshida Fix For: 2.14.1 Currently, when its scanStreamDelay property is set, camel-stream's scanStream mode goes into sleep for each line that it reads. This is not very practical in reading from a file that is being updated. A more preferable behavior would be to go into sleep only when there is no lines to read. I am making this change without providing an option to revert to the original behavior. If you have some concern, please let me know. regards, aki -- This message was sent by Atlassian JIRA (v6.3.4#6332)