Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 83143 invoked from network); 27 Jan 2009 22:11:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jan 2009 22:11:34 -0000 Received: (qmail 24581 invoked by uid 500); 27 Jan 2009 00:15:33 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 24030 invoked by uid 500); 27 Jan 2009 00:15:32 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 24021 invoked by uid 99); 27 Jan 2009 00:15:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jan 2009 16:15:31 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.56] (HELO smtp101.prem.mail.sp1.yahoo.com) (98.136.44.56) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 27 Jan 2009 00:15:23 +0000 Received: (qmail 30237 invoked from network); 27 Jan 2009 00:15:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=Z3NNCsyis1m5AFv8yaF5e6ei/oBAXjVv1MM6OJ/eXlc3CIW7aJ0sB2hpbt23beX6Kc4i+AJ/Qd/VbBdnQ0JKs661UmilMe/R/AJwUGqrEnCnOz9u8TrWtB4GPj/CrDVHRxN6zfXBYIMrnj9lmniyp/rxC4JKhqi58S3t4+4Ocq0= ; Received: from unknown (HELO ?10.11.55.10?) (david_jencks@76.76.148.215 with plain) by smtp101.prem.mail.sp1.yahoo.com with SMTP; 27 Jan 2009 00:15:01 -0000 X-YMail-OSG: O926UC0VM1nCs1aUh3NVtrOVZdm8KdpNe2OBhTWJ4Hb5zYuHj4jvFpPRvjpkCduaKo3dWLHqZKLJUFElYn53LSzwTo6EaJEHmrNU55VHblugNONPjGJfZB7COuXqqtBFCAh6Obc1ndDrbDWGD0h3YPqq_6AHeTd1SMxBu5iQ4eNcB6wLEnedJh7HaZpnNivL1lSfBs_WyGcGN6sd.O5IlxbXPpSWIQ-- X-Yahoo-Newman-Property: ymail-3 Message-Id: <7B6CC781-8237-41B6-B726-FAFD9AD63E00@yahoo.com> From: David Jencks To: user@geronimo.apache.org In-Reply-To: <21674243.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 v930.3) Subject: Re: Geronimo: connectionFactoryJndiName not recognized in MDB EJB 3.0 Date: Mon, 26 Jan 2009 16:15:00 -0800 References: <21674243.post@talk.nabble.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org I suggest you look at the jms-mdb sample: http://cwiki.apache.org/GMOxDOC21/sample-applications.html You specify the resource adapter in a geronimo plan like this: OrderRecvMDB jms-resources You need these properties in the annotations: @MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "OrderQueue") Did you find documentation somewhere to support the properties you are using? thanks david jencks On Jan 26, 2009, at 3:52 PM, Lenin David Lozano Argel wrote: > > Hi. > > I develop an EKB 3.0 Message Driven Bean, and the @MessageDriven > annotation > is configured like this > > @MessageDriven( > activationConfig = { > @ActivationConfigProperty( > propertyName="connectionFactoryJndiName", > propertyValue="jms/SuraBrokerResponseConnectionFactory"), > > @ActivationConfigProperty( > propertyName="destinationName", > propertyValue="jms/QueueResponse"), > > @ActivationConfigProperty( > propertyName = "destinationType", propertyValue = > "javax.jms.Queue" > > )}, > messageListenerInterface = javax.jms.MessageListener.class > ) > > > When I try to deploy the MDB in Geronimo or WASCE, throws an exception > > Unable to create activation spec: No setter found for the activation > spec > properties: [connectionFactoryJndiName, destinationName] > > > Any suggestions? > > Thanks. > > > -- > View this message in context: http://www.nabble.com/Geronimo%3A-connectionFactoryJndiName-not-recognized-in-MDB-EJB-3.0-tp21674243s134p21674243.html > Sent from the Apache Geronimo - Users mailing list archive at > Nabble.com. >