Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29B561083E for ; Thu, 18 Dec 2014 17:15:06 +0000 (UTC) Received: (qmail 1839 invoked by uid 500); 18 Dec 2014 17:15:05 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 1780 invoked by uid 500); 18 Dec 2014 17:15:05 -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 1768 invoked by uid 99); 18 Dec 2014 17:15:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2014 17:15:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [209.85.217.181] (HELO mail-lb0-f181.google.com) (209.85.217.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2014 17:14:38 +0000 Received: by mail-lb0-f181.google.com with SMTP id l4so1360926lbv.12 for ; Thu, 18 Dec 2014 09:12:47 -0800 (PST) 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:date :message-id:subject:from:to:content-type; bh=QAi41g9SGATbbnpXKmnLyNv/mvqFIaT+JWfkspJmFdM=; b=MNt1DuMj6ZkpT/p9RPS3JM/C0+4wi2+7qcg8EkRUNqh6BvMxAZDoPFlL5SDZwJwuzG NE9N+cGsHZIEeZTuIuewzj2zfj1tRN13YNex2diRqba2dqfVa2nTh5TatV00toPlKQT4 1Yg4Ae7vu055cSaWzbe++UAQAI4+XVq+fuErKm6oD4J0Yutk/yd51bR3rownn/CGg4x1 1n/uBQFoMFBctpiMpl55o61VSldXchE+Q/tgdltaJG5hGAFpHPmcjhVdmMw9pVEt69mo W+fN90DY2/92ijZQKb/awXOagRJamj3M+XkUw5bcCd5NX+K7jIIYfPWN/81AguAy4EIQ GhcA== X-Gm-Message-State: ALoCoQkC9XEnqEmsv3Ai7kPyU1o6hrrNMzrF7WsGAPcwJm33OnjvPvm3tlVp5JzNcphEsOulDpOD MIME-Version: 1.0 X-Received: by 10.152.197.5 with SMTP id iq5mr3410223lac.6.1418922766972; Thu, 18 Dec 2014 09:12:46 -0800 (PST) Received: by 10.112.61.163 with HTTP; Thu, 18 Dec 2014 09:12:46 -0800 (PST) In-Reply-To: References: Date: Thu, 18 Dec 2014 12:12:46 -0500 Message-ID: Subject: Re: accessing suspended exchanges From: Mark Ford To: users@camel.apache.org Content-Type: multipart/alternative; boundary=001a113415307d541c050a80b368 X-Virus-Checked: Checked by ClamAV on apache.org --001a113415307d541c050a80b368 Content-Type: text/plain; charset=UTF-8 I saw that option but it's better suited for JMX. In my case, everything is resident locally so dumping to XML and having to provide a string adapter for the payload seems like a lot to do. Also consider that I need to parse everything back from XML to see what the message is. Would you be open to a patch that made made the suspended exchanges easily accessible through the debugger? For now, I'll add this as a custom interceptor in my code. On Thu, Dec 18, 2014 at 12:00 PM, Claus Ibsen wrote: > > You can use dumpTracedMessagesAsXml to get the message content in xml. > > On Thu, Dec 18, 2014 at 5:26 PM, Mark Ford wrote: > > I'm using the BacklogDebugger but don't see an easy way to access the > > suspended exchanges. The map is private and the SuspendedExchange class > > itself is also private. While at the breakpoint, I'd like the user to be > > able to inspect the Exchange. > > > > It would help if there were simple getters for this value. I'm not using > > JMX in this case so I'm not concerned about having to make the Message > and > > its content accessible via JMX. > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: cibsen@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > hawtio: http://hawt.io/ > fabric8: http://fabric8.io/ > --001a113415307d541c050a80b368--