SlideShare ist ein Scribd-Unternehmen logo
1 von 45
ServiceMix 4 Make the container match the project Gert Vanthienen r&d engineer anova r&d bvba [email_address]
Who am I? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Goals ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ServiceMix 3 to ServiceMix 4 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
 
Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
Apache Felix Karaf ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Apache Felix Karaf ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introducing Karaf ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introducing Karaf ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Apache Felix Karaf ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Karaf: Command Shell ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Karaf: Command Shell Install, start and list OSGi bundles karaf@root> osgi:install file:/Users/gert/restaurant-1.0.jar Bundle ID: 30 karaf@root> osgi:start 30 karaf@root> osgi:install -s mvn:org.tssjs.smx4/mexican/1.0 Bundle ID: 31 karaf@root> osgi:list | grep TSSJS  [  30] [Active  ] [  ] [  60] TSSJS :: Restaurant (1.0) [  31] [Active  ] [  ] [  60] TSSJS :: Kitchen :: Mexican (1.0) Logging karaf@root> log:get Level: INFO karaf@root> log:set DEBUG karaf@root> log:display Change settings through the OSGi ConfigAdmin   karaf@root> config:edit org.apache.felix.karaf.shell.ssh  karaf@root> config:propset sshPort 8100 karaf@root> config:update  …  and these are just a few examples
Karaf: Feature descriptors ,[object Object],[object Object],[object Object],[object Object],[object Object]
Karaf: Feature descriptors <? xml   version = &quot;1.0&quot;   encoding = &quot;UTF-8&quot; ?> < features   name = &quot;karaf-1.1.0-SNAPSHOT&quot; > < feature   name = &quot;http&quot;   version = &quot;1.1.0-SNAPSHOT&quot; > < config   name = &quot;org.ops4j.pax.web&quot; > org.osgi.service.http.port=8181 </ config > <!--  snip --> < bundle > mvn:org.ops4j.pax.web/pax-web-bundle/0.6.0 </ bundle > </ feature > < feature   name = &quot;webconsole&quot;   version = &quot;1.1.0-SNAPSHOT&quot; > < feature   version = &quot;1.1.0-SNAPSHOT&quot; > http </ feature > <!--  snip --> < bundle > mvn:org.apache.felix/org.apache.felix.webconsole/1.2.10 </ bundle > </ feature > </ features >
Karaf: Feature descriptors ,[object Object],[object Object],[object Object],karaf@root> features:install webconsole karaf@root> features:list State  Version  Name  Repository [uninstalled] [2.5.6.SEC01  ] spring  karaf-1.1.0-SNAPSHOT [uninstalled] [1.2.0  ] spring-dm  karaf-1.1.0-SNAPSHOT [installed  ] [1.1.0-SNAPSHOT] http  karaf-1.1.0-SNAPSHOT [installed  ] [1.1.0-SNAPSHOT] webconsole karaf-1.1.0-SNAPSHOT
Karaf: Feature descriptors ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Karaf: Hot-deployment ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Karaf: Create a Camel container ,[object Object],[object Object],[object Object],karaf@root> features:addUrl    mvn:org.apache.camel.karaf/features/2.1-SNAPSHOT/xml/features karaf@root> features:install camel-o camel-ognl  camel-osgi karaf@root> features:install camel-osgi karaf@root> features:install camel-ftp
Karaf: Create a Camel container ,[object Object],<? xml   version = &quot;1.0&quot; ?> < beans   xmlns = &quot;http://www.springframework.org/schema/beans&quot; xmlns:xsi = &quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation = &quot; http://www.springframework.org/schema/beans  http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://camel.apache.org/schema/spring  http://camel.apache.org/schema/spring/camel-spring.xsd&quot; > < camelContext   xmlns = &quot;http://camel.apache.org/schema/spring&quot; > < route > < from   uri = &quot;ftp://ck@ftp.resto.eu/recipes?password=secret&quot; /> < to   uri = &quot;file:/home/recipes/in&quot; /> </ route > </ camelContext > </ beans >
Apache Felix Karaf ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Karaf: Admin commands ,[object Object],[object Object],[object Object],[object Object]
Karaf: Admin commands Create a test instance running the http service karaf@root> admin:create test Creating new instance on port 8102 at ... karaf@root> admin:start test karaf@root> admin:connect test Connecting to host localhost on port 8102 Connected karaf@test> features:install http karaf@test> ^D karaf@root> admin:list  Port  State  Pid  Name [ 8102] [Started ] [ 1000] test karaf@root> admin:stop test  karaf@root> admin:destroy test
Karaf: Blueprint Services ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Karaf: Blueprint Services ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Karaf: Blueprint Services ,[object Object],<? xml   version = &quot;1.0&quot; ?> < blueprint   xmlns = &quot;http://www.osgi.org/xmlns/blueprint/v1.0.0&quot; > < service   interface = &quot;org.tssjs.smx4.Restaurant&quot; > < bean   class = &quot;org.tssjs.smx4.impl.RestaurantImpl&quot; > < property   name = &quot;location&quot;   value = &quot;Prague&quot; /> < property   name = &quot;kitchen&quot;   ref = &quot;kitchenRef&quot; /> </ bean > </ service > < reference   id = &quot;kitchenRef&quot;   interface = &quot;org.tssjs.smx4.Kitchen&quot; /> </ blueprint >
Karaf: Blueprint Services ,[object Object],karaf@resto> osgi:install -s mvn:org.tssjs.smx4/restaurant/1.0 Bundle ID: 30 karaf@resto> osgi:list | grep TSSJS [  30] [Active  ] [GracePeriod] [ 60] TSSJS :: Restaurant (1.0) karaf@resto> osgi:install -s mvn:org.tssjs.smx4/mexican/1.0  Bundle ID: 31 karaf@resto> osgi:list | grep TSSJS [  30] [Active  ] [Created  ] [ 60] TSSJS :: Restaurant (1.0) [  31] [Active  ] [Created  ] [ 60] TSSJS :: Kitchen :: Mexican (1.0)
Karaf: Web Console ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Karaf: Web Console
Karaf: Web Console
 
ServiceMix 4 NMR ,[object Object],[object Object],[object Object],[object Object],[object Object]
ServiceMix NMR ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ServiceMix NMR < beans  xmlns = &quot;http://www.springframework.org/schema/beans&quot;    xmlns:xsi = &quot;http://www.w3.org/2001/XMLSchema-instance&quot;  xsi:schemaLocation = &quot;...&quot; > < import  resource = &quot;classpath:org/apache/servicemix/camel/nmr/camel-nmr.xml&quot;  /> < camelContext  xmlns = &quot;http://camel.apache.org/schema/spring&quot; > < route > < from  uri = &quot;ftp://ck@ftp.resto.eu/recipes?password=secret&quot; /> < to  uri = &quot;nmr:Recipes&quot; /> </ route > <!-- the second route can be in another bundle/xml file --> < route >   < from  uri = &quot;nmr:Recipes&quot; />   < to  uri = &quot;file:/home/recipes/in&quot; /> </ route > </ camelContext > </ beans >
 
ServiceMix JBI ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Wrap it up ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
References ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Questions
Session Evaluation ,[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...
Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...
Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...
mfrancis
 
Website releases made easy with the PEAR installer, OSCON 2009
Website releases made easy with the PEAR installer, OSCON 2009Website releases made easy with the PEAR installer, OSCON 2009
Website releases made easy with the PEAR installer, OSCON 2009
Helgi Þormar Þorbjörnsson
 
OpenFOAM 2.4.0 installation on CentOS-7
OpenFOAM 2.4.0 installation on CentOS-7OpenFOAM 2.4.0 installation on CentOS-7
OpenFOAM 2.4.0 installation on CentOS-7
Guy Tel-Zur
 
APACHE
APACHEAPACHE
APACHE
ARJUN
 

Was ist angesagt? (20)

Terraform - The Road to Self-Service
Terraform - The Road to Self-ServiceTerraform - The Road to Self-Service
Terraform - The Road to Self-Service
 
Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...
Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...
Build bundles in the cloud - How Cloudyle PaaS+ helps creating OSGi applicati...
 
20111205 breizh jug-packaging-natif
20111205 breizh jug-packaging-natif20111205 breizh jug-packaging-natif
20111205 breizh jug-packaging-natif
 
Cfml features modern_coding
Cfml features modern_codingCfml features modern_coding
Cfml features modern_coding
 
Devoxx Maroc 2015 HTTP 1, HTTP 2 and folks
Devoxx Maroc  2015 HTTP 1, HTTP 2 and folksDevoxx Maroc  2015 HTTP 1, HTTP 2 and folks
Devoxx Maroc 2015 HTTP 1, HTTP 2 and folks
 
KKBOX WWDC17 Xcode debug - Oliver
KKBOX WWDC17  Xcode debug - OliverKKBOX WWDC17  Xcode debug - Oliver
KKBOX WWDC17 Xcode debug - Oliver
 
Passenger 6 generic language support presentation
Passenger 6 generic language support presentationPassenger 6 generic language support presentation
Passenger 6 generic language support presentation
 
Revisiting ppm
Revisiting ppmRevisiting ppm
Revisiting ppm
 
Installing and Getting Started with Alfresco
Installing and Getting Started with AlfrescoInstalling and Getting Started with Alfresco
Installing and Getting Started with Alfresco
 
Php Power Tools
Php Power ToolsPhp Power Tools
Php Power Tools
 
Nginx 0.8.x + php 5.2.13 (fast cgi) setup web server
Nginx 0.8.x + php 5.2.13 (fast cgi) setup web serverNginx 0.8.x + php 5.2.13 (fast cgi) setup web server
Nginx 0.8.x + php 5.2.13 (fast cgi) setup web server
 
What's new in Rails 4
What's new in Rails 4What's new in Rails 4
What's new in Rails 4
 
Hackingtomcat
HackingtomcatHackingtomcat
Hackingtomcat
 
Running PHP on Windows Technical Overview
Running PHP on Windows Technical OverviewRunning PHP on Windows Technical Overview
Running PHP on Windows Technical Overview
 
Website releases made easy with the PEAR installer, OSCON 2009
Website releases made easy with the PEAR installer, OSCON 2009Website releases made easy with the PEAR installer, OSCON 2009
Website releases made easy with the PEAR installer, OSCON 2009
 
PHP Dependency Management with Composer
PHP Dependency Management with ComposerPHP Dependency Management with Composer
PHP Dependency Management with Composer
 
OpenFOAM 2.4.0 installation on CentOS-7
OpenFOAM 2.4.0 installation on CentOS-7OpenFOAM 2.4.0 installation on CentOS-7
OpenFOAM 2.4.0 installation on CentOS-7
 
Introduction to Apache Tomcat 7 Presentation
Introduction to Apache Tomcat 7 PresentationIntroduction to Apache Tomcat 7 Presentation
Introduction to Apache Tomcat 7 Presentation
 
APACHE
APACHEAPACHE
APACHE
 
[Community Open Camp] 給 PHP 開發者的 VS Code 指南
[Community Open Camp] 給 PHP 開發者的 VS Code 指南[Community Open Camp] 給 PHP 開發者的 VS Code 指南
[Community Open Camp] 給 PHP 開發者的 VS Code 指南
 

Ähnlich wie Gert Vanthienen Presentation

ServiceMix 4 -- Integrating OSGi with JBI
ServiceMix 4 -- Integrating OSGi with JBIServiceMix 4 -- Integrating OSGi with JBI
ServiceMix 4 -- Integrating OSGi with JBI
Gert Vanthienen
 
GTLAB Installation Tutorial for SciDAC 2009
GTLAB Installation Tutorial for SciDAC 2009GTLAB Installation Tutorial for SciDAC 2009
GTLAB Installation Tutorial for SciDAC 2009
marpierc
 
cdac@parag.gajbhiye@test123
cdac@parag.gajbhiye@test123cdac@parag.gajbhiye@test123
cdac@parag.gajbhiye@test123
Parag Gajbhiye
 

Ähnlich wie Gert Vanthienen Presentation (20)

ServiceMix 4 -- Integrating OSGi with JBI
ServiceMix 4 -- Integrating OSGi with JBIServiceMix 4 -- Integrating OSGi with JBI
ServiceMix 4 -- Integrating OSGi with JBI
 
Cocoon OSGi CocoonGT2007
Cocoon OSGi CocoonGT2007Cocoon OSGi CocoonGT2007
Cocoon OSGi CocoonGT2007
 
Bee con2016 presentation_20160125004_installing
Bee con2016 presentation_20160125004_installingBee con2016 presentation_20160125004_installing
Bee con2016 presentation_20160125004_installing
 
GTLAB Installation Tutorial for SciDAC 2009
GTLAB Installation Tutorial for SciDAC 2009GTLAB Installation Tutorial for SciDAC 2009
GTLAB Installation Tutorial for SciDAC 2009
 
The Web on OSGi: Here's How
The Web on OSGi: Here's HowThe Web on OSGi: Here's How
The Web on OSGi: Here's How
 
Locking Down CF Servers
Locking Down CF ServersLocking Down CF Servers
Locking Down CF Servers
 
Camel_From_The_Field
Camel_From_The_FieldCamel_From_The_Field
Camel_From_The_Field
 
Apache servicemix1
Apache servicemix1Apache servicemix1
Apache servicemix1
 
Let's play with adf 3.0
Let's play with adf 3.0Let's play with adf 3.0
Let's play with adf 3.0
 
Tuning and development with SIP Servlets on Mobicents
Tuning and development with SIP Servlets on MobicentsTuning and development with SIP Servlets on Mobicents
Tuning and development with SIP Servlets on Mobicents
 
Intro to Alfresco for Developers
Intro to Alfresco for DevelopersIntro to Alfresco for Developers
Intro to Alfresco for Developers
 
WebServices in ServiceMix with CXF
WebServices in ServiceMix with CXFWebServices in ServiceMix with CXF
WebServices in ServiceMix with CXF
 
RichFaces - Testing on Mobile Devices
RichFaces - Testing on Mobile DevicesRichFaces - Testing on Mobile Devices
RichFaces - Testing on Mobile Devices
 
Servicemix4.5.0
Servicemix4.5.0Servicemix4.5.0
Servicemix4.5.0
 
Deploy Rails Application by Capistrano
Deploy Rails Application by CapistranoDeploy Rails Application by Capistrano
Deploy Rails Application by Capistrano
 
Going FaaSter, Functions as a Service at Netflix
Going FaaSter, Functions as a Service at NetflixGoing FaaSter, Functions as a Service at Netflix
Going FaaSter, Functions as a Service at Netflix
 
Windows Server AppFabric Caching - What it is & when you should use it?
Windows Server AppFabric Caching - What it is & when you should use it?Windows Server AppFabric Caching - What it is & when you should use it?
Windows Server AppFabric Caching - What it is & when you should use it?
 
Delivering High Performance Ecommerce with Magento Commerce Cloud
Delivering High Performance Ecommerce with Magento Commerce CloudDelivering High Performance Ecommerce with Magento Commerce Cloud
Delivering High Performance Ecommerce with Magento Commerce Cloud
 
cdac@parag.gajbhiye@test123
cdac@parag.gajbhiye@test123cdac@parag.gajbhiye@test123
cdac@parag.gajbhiye@test123
 
Introduction to Alfresco Surf Platform
Introduction to Alfresco Surf PlatformIntroduction to Alfresco Surf Platform
Introduction to Alfresco Surf Platform
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 

Gert Vanthienen Presentation

  • 1. ServiceMix 4 Make the container match the project Gert Vanthienen r&d engineer anova r&d bvba [email_address]
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.  
  • 8.  
  • 9.
  • 10.  
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. Karaf: Command Shell Install, start and list OSGi bundles karaf@root> osgi:install file:/Users/gert/restaurant-1.0.jar Bundle ID: 30 karaf@root> osgi:start 30 karaf@root> osgi:install -s mvn:org.tssjs.smx4/mexican/1.0 Bundle ID: 31 karaf@root> osgi:list | grep TSSJS [ 30] [Active ] [ ] [ 60] TSSJS :: Restaurant (1.0) [ 31] [Active ] [ ] [ 60] TSSJS :: Kitchen :: Mexican (1.0) Logging karaf@root> log:get Level: INFO karaf@root> log:set DEBUG karaf@root> log:display Change settings through the OSGi ConfigAdmin karaf@root> config:edit org.apache.felix.karaf.shell.ssh karaf@root> config:propset sshPort 8100 karaf@root> config:update … and these are just a few examples
  • 18.
  • 19. Karaf: Feature descriptors <? xml version = &quot;1.0&quot; encoding = &quot;UTF-8&quot; ?> < features name = &quot;karaf-1.1.0-SNAPSHOT&quot; > < feature name = &quot;http&quot; version = &quot;1.1.0-SNAPSHOT&quot; > < config name = &quot;org.ops4j.pax.web&quot; > org.osgi.service.http.port=8181 </ config > <!-- snip --> < bundle > mvn:org.ops4j.pax.web/pax-web-bundle/0.6.0 </ bundle > </ feature > < feature name = &quot;webconsole&quot; version = &quot;1.1.0-SNAPSHOT&quot; > < feature version = &quot;1.1.0-SNAPSHOT&quot; > http </ feature > <!-- snip --> < bundle > mvn:org.apache.felix/org.apache.felix.webconsole/1.2.10 </ bundle > </ feature > </ features >
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27. Karaf: Admin commands Create a test instance running the http service karaf@root> admin:create test Creating new instance on port 8102 at ... karaf@root> admin:start test karaf@root> admin:connect test Connecting to host localhost on port 8102 Connected karaf@test> features:install http karaf@test> ^D karaf@root> admin:list Port State Pid Name [ 8102] [Started ] [ 1000] test karaf@root> admin:stop test karaf@root> admin:destroy test
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 35.  
  • 36.
  • 37.
  • 38. ServiceMix NMR < beans xmlns = &quot;http://www.springframework.org/schema/beans&quot; xmlns:xsi = &quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation = &quot;...&quot; > < import resource = &quot;classpath:org/apache/servicemix/camel/nmr/camel-nmr.xml&quot; /> < camelContext xmlns = &quot;http://camel.apache.org/schema/spring&quot; > < route > < from uri = &quot;ftp://ck@ftp.resto.eu/recipes?password=secret&quot; /> < to uri = &quot;nmr:Recipes&quot; /> </ route > <!-- the second route can be in another bundle/xml file --> < route > < from uri = &quot;nmr:Recipes&quot; /> < to uri = &quot;file:/home/recipes/in&quot; /> </ route > </ camelContext > </ beans >
  • 39.  
  • 40.
  • 41.
  • 42.
  • 43.
  • 45.