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 1BF74104BB for ; Mon, 24 Mar 2014 07:19:45 +0000 (UTC) Received: (qmail 69963 invoked by uid 500); 24 Mar 2014 07:19:44 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 69943 invoked by uid 500); 24 Mar 2014 07:19:43 -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 69936 invoked by uid 99); 24 Mar 2014 07:19:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2014 07:19:42 +0000 Date: Mon, 24 Mar 2014 07:19:42 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CAMEL-7323) createRouteStatisticEndpointJson - Returns invalid json if no routes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Claus Ibsen created CAMEL-7323: ---------------------------------- Summary: createRouteStatisticEndpointJson - Returns invalid json if no routes Key: CAMEL-7323 URL: https://issues.apache.org/jira/browse/CAMEL-7323 Project: Camel Issue Type: Bug Components: camel-core, jmx Affects Versions: 2.13.0 Reporter: Claus Ibsen Assignee: Claus Ibsen Priority: Minor Fix For: 2.13.1 If there is no routes, we have an extra } which should not be there {code} { "routes": { } } } {code} Parse error on line 5: ... { }}} -------------------^ Expecting 'EOF' -- This message was sent by Atlassian JIRA (v6.2#6252)