Table of Contents
Apache Karaf Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Apache Karaf for System Builders
Introduction
Configuring production-ready logging in Apache Karaf
How to do itā¦
How it worksā¦
There's moreā¦
See also
Creating our own custom Karaf command using a Maven archetype
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
See also
Branding the Apache Karaf console
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
Deploying applications as a feature
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
See also
Using JMX to monitor and administer Apache Karaf
Getting ready
How to do itā¦
Reconfiguring SSH access to Apache Karaf
Getting ready
How to do itā¦
There's moreā¦
Installing Apache Karaf as a service
Getting ready
How to do itā¦
How it worksā¦
See also
Setting up Apache Karaf for high availability
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
2. Making Smart Routers with Apache Camel
Introduction
Installing Apache Camel modules into Apache Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
Listing Camel Contexts in Karaf
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
See also
Displaying Camel Context information in Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
Starting and stopping Camel Contexts in Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
Listing routes in Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
Displaying route information in Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
Starting, stopping, suspending, and resuming routes in Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
Listing endpoints in Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
Making a pure Java-based Camel Router for deployment in Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
Creating a Blueprint-based Camel Router for deployment in Karaf
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
See also
Adding Configuration Admin to a Blueprint-based Camel Router
Getting ready
How to do itā¦
How it worksā¦
See also
Creating a managed service factory implementation of a Camel Router
Getting ready
How to do itā¦
How it worksā¦
See also
3. Deploying a Message Broker with Apache ActiveMQ
Introduction
Installing Apache ActiveMQ modules into Apache Karaf
How to do itā¦
How it worksā¦
Using the ActiveMQ query command
Getting ready
How to do itā¦
How it worksā¦
See also
Using the ActiveMQ list command
Getting ready
How to do itā¦
How it worksā¦
See also
Using the ActiveMQ dstat command
Getting ready
How to do itā¦
How it worksā¦
See also
Using the ActiveMQ purge command
Getting ready
How to do itā¦
How it worksā¦
See also
Using the JMS connection factory commands
Getting ready
How to do itā¦
How it worksā¦
See also
Using the JMS send command
Getting ready
How to do itā¦
How it worksā¦
See also
Using the JMS browse command
Getting ready
How to do itā¦
How it worksā¦
Configuring and deploying a master/slave broker with Apache Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
Configuring and deploying a Network of Brokers with Apache Karaf
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
See also
4. Hosting a Web Server with Pax Web
Introduction
Installing Pax modules in Apache Karaf
How to do itā¦
How it worksā¦
See also
Installing extended Http Service in Apache Karaf
How to do itā¦
How it worksā¦
See also
Configuring Pax Web modules deployed in Apache Karaf
How to do itā¦
How it worksā¦
There's moreā¦
How it worksā¦
Building a Http Service project to host in Apache Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
Building a Http Service with the Whiteboard pattern in Apache Karaf
How to do itā¦
Registering error pages
Defining error page mapping
Registering a welcome page
Register JSPs
How it works...
Building an application with custom HttpContext with Apache Karaf
Getting ready
How to do itā¦
There's moreā¦
Building a standard web project to host in Apache Karaf
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
Configuring security for a web application in Apache Karaf
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
Binding a web project to a specific host in Apache Karaf
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
Building a Servlet 3.0 annotated web application with Apache Karaf
Getting ready
How to do itā¦
There's moreā¦
How it worksā¦
Creating a CDI web application with Apache Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
5. Hosting Web Services with Apache CXF
Introduction
Installing Apache CXF modules in Apache Karaf
How to do itā¦
How it worksā¦
See also
Using the CXF list-endpoints command
Getting ready
How to do itā¦
How it worksā¦
See also
Using the CXF stop and start commands
Getting ready
How to do itā¦
How it worksā¦
See also
Building and deploying a RESTful service in Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
Building and deploying a Camel CXF web service in Karaf
Getting ready
How to do itā¦
How it worksā¦
See also
6. Distributing a Clustered Container with Apache Karaf Cellar
Introduction
Installing Apache Karaf Cellar modules in Apache Karaf
How to do itā¦
How it worksā¦
Using Apache Karaf Cellar commands
Getting ready
How to do itā¦
Group commands
The node commands
Cluster configuration c...