The Camel Java DSL works fine with Blueprint in Karaf. One simply bootstraps
the RouteBuilder in Blueprint and then references in the Camel context of
the Blueprint file. I think the problem is that documentation is inadequate.
And, as Camel, Karaf, etc. changed over time documentation became
Paul,
I agree. I've used Blueprint for a long time and it is a thorny with Camel.
I've limited my use of Blueprint these days to 1) configuration, 2) service
management, and 3) bootstrap. If one keeps in minimal like that Blueprint is
fine. But I've gone into a lot of different clients where they
Absolutely, do use the Camel Java DSL even when you bootstrap with Blueprint.
Write unit tests using CamelTestSupport and only sparingly use the
CamelBlueprintTestSupport. Avoid Processors/Exchanges and use plain pojo
handlers instead. Camel uses reflection on any bean it finds in the path and
Thank you Tim for the affirmation,
Apache Camel, at least, touts that you can tie in so many technologies for just
about any connection technology, any payload, and transform to another, all by
utilizing the massive collection of work done by others, instead of hand coding
it yourself.
Hi,
afaik you can also use declarative Services as starting point for your
Camel routes/rotue-builders
http://camel.apache.org/camel-and-scr.html
Therefore I'd think blueprint isn't mandatory.
Also it's not mandatory to start with a blueprint dsl, use java instead
just let your route builder be
This is an argument that I hear a lot. I’m not a Camel expert, but it really
sounds as though the DSL needs some work. The whole point of a DSL is that by
being domain specific it is supposed to be natural and easy. Instead it sounds
as though it is forcing people into using Blueprint despite
Thank you.. I was thinking of abandoning the Java DSL and ultimately going
this way, given my lack of success of "dumping it" into an OSGi container of
some sort. The rest of my shop, though, are not blueprint DSL, Camel or Apache
product savvy, so the learning curve for my coworkers will be
You can also directly use the Camel Blueprint DSL directly, just putting
your route in OSGI-INF/blueprint/route.xml:
http://camel.apache.org/schema/blueprint;>
...
You'll want to use the bundle plugin and create a blueprint.xml to bootstrap
your Camel Java DSL. I use the Camel Java DSL all the time in Blueprint for
a variety of reasons (testing is easier as the RouteBuilders exist without
the camel context). I’m not sure why your Camel blueprint archetype
ponentDefinitionException:
> Unable to instantiate components
>
>
> From: Francois Papon
> To: user@karaf.apache.org
> Sent: Tuesday, October 16, 2018 3:18 PM
> Subject: Re: Running Camel in a Karaf OSGi container
>
>
>
> Hi John,
> Have you install the ca
;
>
>
> From: Kerry
> To: user@karaf.apache.org
> Sent: Tuesday, October 16, 2018 3:03 PM
> Subject: Re: Running Camel in a Karaf OSGi container
>
>
>
> Hi John,
> Are you able to share any of your code or an example project? also are y
r blueprint bundle
>org.apache.camel.camel-blueprint/2.22.1
>org.osgi.service.blueprint.container.ComponentDefinitionException:
>Unable to instantiate components
>
>
>
>From: Francois Papon
>To: user@karaf.apache.org
>Sent: Tuesday, October 16, 2018 3:18 PM
&
16, 2018 3:03 PM
> Subject: Re: Running Camel in a Karaf OSGi container
>
>
>
> Hi John,
> Are you able to share any of your code or an example project? also are you
> familiar already with OSGi or is it only Karaf that you are new to?
> thanks
> Kerry
>
>
> On
ionException: Unable to
> instantiate components
>
>
>
> From: Francois Papon
> To: user@karaf.apache.org
> Sent: Tuesday, October 16, 2018 3:18 PM
> Subject: Re: Running Camel in a Karaf OSGi container
>
>
>
> Hi John,
> Have you insta
y, October 16, 2018 3:18 PM
Subject: Re: Running Camel in a Karaf OSGi container
Hi John,
Have you install the camel feature in Karaf ?
In a Karaf shell :
karaf@root()> feature:repo-add camel
karaf@root()> feature:install camel
If your are using blueprint with Karaf 4.2.x :
karaf@root()&
igurations to try and flip it
over to something Karaf can make heads or tails of.
Thanks!
From: Kerry
To: user@karaf.apache.org
Sent: Tuesday, October 16, 2018 3:03 PM
Subject: Re: Running Camel in a Karaf OSGi container
Hi John,
Are you able to share any of
Hi John,
Have you install the camel feature in Karaf ?
In a Karaf shell :
karaf@root()> feature:repo-add camel
karaf@root()> feature:install camel
If your are using blueprint with Karaf 4.2.x :
karaf@root()> feature:install aries-blueprint
Then just drop your bundle into the "deploy"
Hi John,
Are you able to share any of your code or an example project? also are you
familiar already with OSGi or is it only Karaf that you are new to?
thanks
Kerry
On 16/10/18 19:54, John F. Berry wrote:
> New user to Karaf due to the fact that my development work in Apache Camel is
>
New user to Karaf due to the fact that my development work in Apache Camel is
wanted by people to be installed on a Windows server and to be installed as a
service. This led me to the Karaf product.I've asked the Camel users forum
about migration steps, but now I think this is more of a Karaf
19 matches
Mail list logo