Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E8D811791 for ; Tue, 15 Jul 2014 19:39:00 +0000 (UTC) Received: (qmail 51064 invoked by uid 500); 15 Jul 2014 19:38:59 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 51013 invoked by uid 500); 15 Jul 2014 19:38:59 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 50999 invoked by uid 99); 15 Jul 2014 19:38:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2014 19:38:59 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cmordant1@gmail.com designates 209.85.219.45 as permitted sender) Received: from [209.85.219.45] (HELO mail-oa0-f45.google.com) (209.85.219.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2014 19:38:57 +0000 Received: by mail-oa0-f45.google.com with SMTP id i7so5461320oag.18 for ; Tue, 15 Jul 2014 12:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cDmCvISRGZFXNzwDwrW03Cq/0fs0VIZ+FtPRpAlNuJ0=; b=pGxsh++bddcpVLEpf9Y/h4CZXK0jaQArWspjZBudp8hAZmkvKH3pT5hZ3Cq8SGYgOM MyEj3bJ3FJxL5mBbU92pIS/2rq1KhfWKq1F9QwKnFarbri2oK4gQJLYtl8y9b32NTgP/ 25qM3QG5gCI1TSjO0vQQToxflSZk55IK2zuqDvp/dK+bqH8F/WLrvlmhCUuxJxHVyum1 QjOFdnqZUPSy0uX6M9N+1QRf6fzL9WZ7mZdmv9AkIfFmsYFyEBFJfM4l2RUoAo1lDOpr PZZlz4zBkPkLC+pOnCRcHhw83YoWfJZnBymmWfLvIU/wWZXcH+8xmH6fiYwo+8SaZHNS UckA== MIME-Version: 1.0 X-Received: by 10.182.106.99 with SMTP id gt3mr29006399obb.24.1405453112142; Tue, 15 Jul 2014 12:38:32 -0700 (PDT) Received: by 10.202.188.193 with HTTP; Tue, 15 Jul 2014 12:38:32 -0700 (PDT) In-Reply-To: References: Date: Tue, 15 Jul 2014 21:38:32 +0200 Message-ID: Subject: Re: How does bean integration work in non-Spring contexts? From: Charlie Mordant To: users@camel.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1ed1c7fb83404fe408dbd X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1ed1c7fb83404fe408dbd Content-Type: text/plain; charset=UTF-8 Hi Matt, camel-blueprint also makes blueprint beans working with camel. Regards, 2014-07-15 20:09 GMT+02:00 Matt Sicker : > So I'm guessing in order for it to work in OSGi using services, it would > require a bit of additional code? > > I'll take a look at the CDI stuff, though, as we're considering using it > instead of Blueprint for our routes. > > > On 15 July 2014 13:01, Claus Ibsen wrote: > > > Hi > > > > Yes these are Camel annotations and there is some code in camel-core / > > camel-spring / camel-guice / camel-cdi to inject and support these > > annotations in those environments. > > > > Though camel-cdi is a bit special as its using some cdi extension and > > whatnot. And it could use a little cdi love to be improved/better. > > > > On Tue, Jul 15, 2014 at 6:38 PM, Matt Sicker wrote: > > > Suppose I'm using CDI, or Blueprint, or Guice, or really anything other > > > than Spring. The documentation < > > > http://camel.apache.org/bean-integration.html> doesn't really explain > > how > > > this works. Do things just work automatically? > > > > > > -- > > > Matt Sicker > > > > > > > > -- > > Claus Ibsen > > ----------------- > > Red Hat, Inc. > > Email: cibsen@redhat.com > > Twitter: davsclaus > > Blog: http://davsclaus.com > > Author of Camel in Action: http://www.manning.com/ibsen > > hawtio: http://hawt.io/ > > fabric8: http://fabric8.io/ > > > > > > -- > Matt Sicker > -- Charlie Mordant Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent --e89a8fb1ed1c7fb83404fe408dbd--