Return-Path: Delivered-To: apmail-openejb-users-archive@www.apache.org Received: (qmail 40318 invoked from network); 13 Aug 2008 08:11:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Aug 2008 08:11:28 -0000 Received: (qmail 44632 invoked by uid 500); 13 Aug 2008 08:11:27 -0000 Delivered-To: apmail-openejb-users-archive@openejb.apache.org Received: (qmail 44615 invoked by uid 500); 13 Aug 2008 08:11:27 -0000 Mailing-List: contact users-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openejb.apache.org Delivered-To: mailing list users@openejb.apache.org Received: (qmail 44604 invoked by uid 99); 13 Aug 2008 08:11:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 01:11:27 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO spaceymail-a1.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 08:10:30 +0000 Received: from [192.168.30.151] (pool-71-106-199-15.lsanca.dsl-w.verizon.net [71.106.199.15]) by spaceymail-a1.g.dreamhost.com (Postfix) with ESMTP id E2762810B2 for ; Wed, 13 Aug 2008 01:10:39 -0700 (PDT) Message-Id: <01D60957-88D2-482C-A79A-66A832C024B0@iq80.com> From: Dain Sundstrom To: users@openejb.apache.org In-Reply-To: <18958134.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Subject: Re: Inbound JCA 1.5 Resource Adapter example Date: Wed, 13 Aug 2008 01:10:34 -0700 References: <18958134.post@talk.nabble.com> X-Mailer: Apple Mail (2.928.1) X-Virus-Checked: Checked by ClamAV on apache.org On Aug 13, 2008, at 12:17 AM, Neighbour wrote: > > Hi all, > I'm looking for the example of Inbound JCA Resource Adapter > compliant to JCA > 1.5 spec. > So it would be possible to deploy it into OpenEJB. Yes OpenEJB supports JCA 1.5. If you include a rar file in an ear we will automatically deploy the rar. > How does JCA RA become aware of EJBs subscribed to this JCA RA? > The parameters MessageEndpointFactory and ActivationSpec don't give > any clue > to these EJBs. When we deploy a ResourceAdapter file, we automatically create a MdbContainer for inbound connection. Later when message driven EJBs are deployed, OpenEJB matches the message listener interface of the MDB against the message listener interface of the automatically deployed MdbContainer. Then the MdbContainer then performs endpoint activation using the ResourceAdapter, the EJB's ActivationSpec and an EndpointFactory created by the container. -dain