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 7949A7051 for ; Thu, 28 Jul 2011 13:13:04 +0000 (UTC) Received: (qmail 54870 invoked by uid 500); 28 Jul 2011 13:13:04 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 54764 invoked by uid 500); 28 Jul 2011 13:13:03 -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 54755 invoked by uid 99); 28 Jul 2011 13:13:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2011 13:13:03 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of xiangqiuzhao@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2011 13:12:57 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QmQOD-0007yC-Co for users@camel.apache.org; Thu, 28 Jul 2011 06:12:37 -0700 Date: Thu, 28 Jul 2011 06:12:37 -0700 (PDT) From: xiangqiuzhao To: users@camel.apache.org Message-ID: <1311858757389-4642571.post@n5.nabble.com> In-Reply-To: References: <1311848212031-4642015.post@n5.nabble.com> <4E31415D.7010104@gmail.com> <1311856512446-4642434.post@n5.nabble.com> Subject: Re: how to route once from(myComponent://).to(cxf://) ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit what's the difference between use endpoint to create producer with use template? or when should to use template? only the difference with the code lines count? other question: Producer producer = endpoint.createProducer(); producer.process(exchange); why i use from("direct:name").to() i need to createProducer ? not createConsumer? not from=Consumer, to=Producer?? -- View this message in context: http://camel.465427.n5.nabble.com/how-to-route-once-from-myComponent-to-cxf-tp4642015p4642571.html Sent from the Camel - Users mailing list archive at Nabble.com.