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 B88CA7933 for ; Wed, 30 Nov 2011 00:32:22 +0000 (UTC) Received: (qmail 92023 invoked by uid 500); 30 Nov 2011 00:32:22 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 91990 invoked by uid 500); 30 Nov 2011 00:32:22 -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 91982 invoked by uid 99); 30 Nov 2011 00:32:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 00:32:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jason.dillon@gmail.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-yx0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 00:32:13 +0000 Received: by yenq3 with SMTP id q3so632230yen.32 for ; Tue, 29 Nov 2011 16:31:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:content-type:content-transfer-encoding:subject:date :message-id:to:mime-version:x-mailer; bh=GtxH7GtUdv1opuvDEAlmwZRvH+ipqr8ezeO14U8LM2I=; b=eSYh7GGtNOlmn3PkUcoLTnsPwr5ugSurvnMW0dxKytfN5A09fr6vtUEPlSjBURpXRR BGB7+Bf0zRun1qDFWVOfytAs7nOFlx8Fnw5MnO67xtgnm7hIoQLUMoSfsZv4NcH47D9k SyMUqz2JrHgNDEALG7l1nyZ/8Rs5mHVb2JGNY= Received: by 10.236.131.19 with SMTP id l19mr146187yhi.62.1322613112422; Tue, 29 Nov 2011 16:31:52 -0800 (PST) Received: from [10.0.1.55] (c-98-248-96-179.hsd1.ca.comcast.net. [98.248.96.179]) by mx.google.com with ESMTPS id i4sm255190yhk.21.2011.11.29.16.31.51 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Nov 2011 16:31:51 -0800 (PST) Sender: Jason Dillon From: Jason Dillon Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: How to configure default endpoint Date: Tue, 29 Nov 2011 16:31:48 -0800 Message-Id: <7C5F1BD7-B4D4-4C3C-A33D-E9FFF871F5DE@planet57.com> To: users@camel.apache.org Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) X-Virus-Checked: Checked by ClamAV on apache.org The ProducerTemplate (2.8.3) javadocs talk about methods that send to = "to the default endpoint"... but how does one configure that that = endpoint is? I see that DefaultProducerTemplate has methods like: public void setDefaultEndpointUri(String endpointUri) { public void setDefaultEndpoint(Endpoint defaultEndpoint) { But these are not on ProducerTemplate. = CamelContext.createProducerTemplate() returns a ProducerTemplate, so to = set the default you need to cast? Really? Is this an oversight or by design? --jason=