Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 92689 invoked from network); 8 Oct 2007 16:53:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Oct 2007 16:53:12 -0000 Received: (qmail 89396 invoked by uid 500); 8 Oct 2007 16:52:59 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 89381 invoked by uid 500); 8 Oct 2007 16:52:59 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 89364 invoked by uid 99); 8 Oct 2007 16:52:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2007 09:52:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of james.strachan@gmail.com designates 66.249.82.233 as permitted sender) Received: from [66.249.82.233] (HELO wx-out-0506.google.com) (66.249.82.233) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2007 16:52:59 +0000 Received: by wx-out-0506.google.com with SMTP id s14so1582339wxc for ; Mon, 08 Oct 2007 09:52:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=p9MVFtD3tZAYye1dKjodRj8MyUTMjwZSgJBXpk+CaEo=; b=WMU2tihIxqv+16TImKMTxhqGFTobWaLs+FF0k5M9Rd5vT1u66/XYC0se2r3BkyXzwUY2hiYVQBoW5qQBvjmoDaekbAuquUTGA5gLNIATlU2yRT0cw/PtKkET1+6HE/RVMA012DwDdpvho9nWygwNoDgUoD6UXTZ5oLTmPATqly4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ifMVzU6MJ8BGV+d41QtvEQhT3bHy+0Pj3bQX7QSAyGOOx6Gs4XhGiPBXGZ9s4kVbqe044D0joyB3s3DbMxUhKfQh3tlf4ifJeiZJtvgy54kmbygjWB+AoWjRhpW67eMNBeqfq+18yTvnN5o62Kae4oZwtNsW8fiXAM5ZEGTlwTY= Received: by 10.90.119.15 with SMTP id r15mr4167702agc.1191862341611; Mon, 08 Oct 2007 09:52:21 -0700 (PDT) Received: by 10.90.67.7 with HTTP; Mon, 8 Oct 2007 09:52:21 -0700 (PDT) Message-ID: Date: Mon, 8 Oct 2007 17:52:21 +0100 From: "James Strachan" To: camel-user@activemq.apache.org Subject: Re: How camel resolve JNDI End point In-Reply-To: <13078120.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13039322.post@talk.nabble.com> <13058760.post@talk.nabble.com> <13078120.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On 06/10/2007, Bob G. wrote: > > > One last point on how Camel receive messages from JMS : > > In my other applications I use Message Driven Bean (when running in a J2EE > container) or Spring MDP via the DefaultMessageListenerContainer when > running in Tomcat. Under the covers we're using Spring's MessageListenerConainer stuff. e.g. from("activemq:My.Queue").to("file://foo/bar"); > - Is there a way to configure Camel to receive messages from a regular MDB? If you want you can reuse MessageListenerProcessor inside some MDB framework; but the above is gonna be eaisest > - Does the Camel JmsComponent use the Spring DefaultMessageListenerContainer > underneath ? Yes > Can I configure a recovery Interval on the JmsComponent in case > of a lost connection (I know it is build-in activeMQ but not in MQ > Series...)? Yes - all the various configuration options for the various MessageListenerContainer implementations can be configured on the JmsComponent or the JmsEndpoint via the JmsConfiguration POJO (or the properties on the component) -- James ------- http://macstrac.blogspot.com/ Open Source SOA http://open.iona.com