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 C46077944 for ; Fri, 5 Aug 2011 13:55:49 +0000 (UTC) Received: (qmail 81809 invoked by uid 500); 5 Aug 2011 13:55:49 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 81605 invoked by uid 500); 5 Aug 2011 13:55:48 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 49330 invoked by uid 99); 5 Aug 2011 13:37:34 -0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Date: Fri, 5 Aug 2011 06:37:08 -0700 (PDT) From: dunnlow To: users@camel.apache.org Message-ID: <1312551428846-4669586.post@n5.nabble.com> In-Reply-To: <4E3BA327.7010305@die-schneider.net> References: <1312501395501-4668163.post@n5.nabble.com> <4E3BA327.7010305@die-schneider.net> Subject: Re: noob spring testing question MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Christian, Thank you! That was exactly what I was missing. As you suggested, I pass the body into the route via InputStream and Camel is smart enough to do the rest. Also, point taken about calling the methods directly for narrower unit tests - plan to do that as well. Thanks again. -J -- View this message in context: http://camel.465427.n5.nabble.com/noob-spring-testing-question-tp4668163p4669586.html Sent from the Camel - Users mailing list archive at Nabble.com.