To develop a router application, you perform the following high-level steps:
Choose a deployment option—The router architecture is designed to support multiple deployment options:
Spring-based deployment.
Standalone deployment.
OSGi-based deployment.
Define routing rules—You define the routing rules either in Java DSL, in XML, or both.
Implement business logic—When necessary, you can implement custom business logic using POJOs.
Configure components—If you need to use components not already embedded in the router core, you must configure the components using either Java code or (in the case of a Spring container) XML.
Deploy the router—to deploy the router, follow the instructions for the particular container or deployment option that you have chosen. See the Deployment Guide for details.