Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 48352 invoked from network); 3 Nov 2006 10:22:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2006 10:22:51 -0000 Received: (qmail 51172 invoked by uid 500); 3 Nov 2006 10:23:02 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 51141 invoked by uid 500); 3 Nov 2006 10:23:02 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 51132 invoked by uid 99); 3 Nov 2006 10:23:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 02:23:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gnodet@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 02:22:48 -0800 Received: by nf-out-0910.google.com with SMTP id a4so95210nfc for ; Fri, 03 Nov 2006 02:21:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CLCKlPIZojzBVtqmGPOCJn/KXEGkvZonOYV6JFkjCAKYXSkv1w+He0JYbR5XVzIAbDclhkuSPeU2j/ziLreGEMMamVNa6tu2468qXzgvKenOh5LlA0uxHoiPK0wm2XMMtvlRngizqWWitjLkZF3dDZH0k9zOKzpHpjOHT4nfYP8= Received: by 10.49.27.17 with SMTP id e17mr1021471nfj.1162549318975; Fri, 03 Nov 2006 02:21:58 -0800 (PST) Received: by 10.49.38.11 with HTTP; Fri, 3 Nov 2006 02:21:58 -0800 (PST) Message-ID: Date: Fri, 3 Nov 2006 11:21:58 +0100 From: "Guillaume Nodet" To: cxf-dev@incubator.apache.org Subject: JBI Service Engine MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org I had a brief look at the JBI service engine and I have one question. The JBIDestination, when started creates a thread to poll JBI exchanges from the DeliveryChannel and dispatch them. But I think that one destination is created for each service deployed, right ? In this case, the threads will compete for jbi exchanges (which is not a problem), but they are not assured to receive exchanges for the right service. If multiple services are deployed, they will be given the first available exchange, so there are lots of chances that the processing will fail. I'm (unfortunately) not very at ease with CXF code, so I may have missed something. Thoughts ? Also, I someone could cast some light on what kind of processing is performed on the input stream, that would be cool. Where are the interceptors configured ?