Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 23351 invoked from network); 29 Aug 2007 22:01:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2007 22:01:23 -0000 Received: (qmail 16588 invoked by uid 500); 29 Aug 2007 22:01:19 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 16565 invoked by uid 500); 29 Aug 2007 22:01:19 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 16556 invoked by uid 99); 29 Aug 2007 22:01:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 15:01:19 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 22:02:12 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IQVan-00014B-8p for camel-dev@activemq.apache.org; Wed, 29 Aug 2007 15:00:53 -0700 Message-ID: <12396658.post@talk.nabble.com> Date: Wed, 29 Aug 2007 15:00:53 -0700 (PDT) From: Nicky Sandhu To: camel-dev@activemq.apache.org Subject: Producer Consumer concepts need to be clarified MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: karajdaar@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org I am still not clear on the contractual difference between a Producer and Consumer. My context is the wiring service provided in OSGi and there is a clearly defined Producer and Consumer relationship, ie a Producer is something that can be polled and a Consumer is something that can be updated with a polled value. Ofcourse something can be both a Producer and Consumer In Camel's case Producer and Consumer are both Services (that is share lifecycle concepts such as start and stop). A Producer is a just a processor that can create exchanges in addition to being able to modify the in and out messages of the exchanges, no production semantics in the interface? A consumer is just a service, no consumption contract in interface ?? Can someone explain the intent of the Producer/Consumer concepts ? Is the vagueness deliberate...it gives more freedom to experiment ...? -- View this message in context: http://www.nabble.com/Producer-Consumer-concepts-need-to-be-clarified-tf4350719s22882.html#a12396658 Sent from the Camel - Development mailing list archive at Nabble.com.