On Wed, Jul 23, 2014 at 9:21 AM, user3152723
<[email protected]> wrote:
> Tank you for the answers!
>
> I can now see that I mixed up names and things and frameworks. Fuse is based
> on Karaf; when you start (RedHat) Fuse you meet Karaf console.
>
> And about testing Camel "osgi-blueprint" routes: Check Camel in Action: in
> the osgi example of the book, there is not even test-folder in the project.
> All other examples in the book (as in Camel docs) are effectively spring
> tests plain. (OK, example is about using osgi, not testing osgi. But then
> the book is missing a chapter "testing with osgi".)
>

When the book was authored there was no easy way of doing unit testing
with OSGi.

The camel-test-blueprint module was introduced from Camel 2.10
onwards. And the book was printed when Camel 2.5.0 was the latest.

The newer book
http://www.packtpub.com/apache-camel-developers-cookbook/book

has also a testing chapter, and a section about testing blueprint routes.


> So there seems to be quite a "learning curve" when starting to use Fuse. But
> interesting challenge to meet :).
>

Well IMHO a big part of f the learning curve is IMHO and the fact that
Karaf is a new kind of application server, that most people have not
used before.

That is all going to chance in fabric8 1.1 onwards, where you have a
lot more freedom and choices. For example you can use well known
containers such as Apache Tomcat, Wildfly, Jetty, Spring Boot, or
whatever. And just do development without OSGi such as plain WAR /
spring / CDI / or whatever.

Here is a blog and video post showing fabric8 with Apache Tomcat
http://www.christianposta.com/blog/?p=393

JBoss Fuse 6.2 will include latest fabric8 release as well.








>
> rg,
> full time Camel User
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/What-would-be-the-benefits-of-running-Camle-on-osgi-tp5754201p5754278.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to