...
Maven modules
Code Block |
---|
<groupId>org.cleverbus<openhubframework</groupId> <artifactId>cleverbus-integration<<artifactId>openhub</artifactId> |
CleverBus framework OpenHub framework consists of the following Maven modules:
- common: module contains useful functions for other modules
- core-api: user API for writing new routes with CleverBuswith OpenHub framework
- core-spi: interface for internal use in CleverBus componentsOpenHub framework components
- core: basic implementation module
- test: module with basic configuration and parent classes for tests
- components: CleverBus componentsOpenHub framework components
- examples: examples how to use CleverBususe OpenHub framework
- web-admin: admin GUI web application
- web-admin-archetype: Maven archetype for easy creation of new CleverBus project
Code Block |
---|
<dependency> <groupId>org.cleverbus<openhubframework</groupId> <artifactId>cleverbus<artifactId>openhub-common</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.cleverbus<openhubframework</groupId> <artifactId>cleverbus<artifactId>openhub-core-api</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.cleverbus<openhubframework</groupId> <artifactId>cleverbus<artifactId>openhub-core-spi</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.cleverbus<openhubframework</groupId> <artifactId>cleverbus<artifactId>openhub-core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.cleverbus<openhubframework</groupId> <artifactId>cleverbus<artifactId>openhub-components</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.cleverbus<openhubframework</groupId> <artifactId>cleverbus<artifactId>openhub-test</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.cleverbus<openhubframework</groupId> <artifactId>cleverbus<artifactId>openhub-examples</artifactId> <version>${project.version}</version> </dependency> |
Info |
There were the following names before 1.1 version:
|
Tip | ||||
---|---|---|---|---|
CleverBus OpenHub framework depends on several Camel components and if you want to use another Camel component with same Camel's version then you can do it:
Since 1.1 version. |
Spring contexts
CleverBus uses OpenHub framework uses and is configured by Spring framework.
...
- root application context; Apache Camel, database and security (Spring security) is initialized in this context
- spring-ws: Spring Web Services context
- spring-admin-mvc: Spring Web MVC context
Spring profiles
CleverBus framework OpenHub framework uses Spring profiles to simplify configuration for different target environments:
...
Spring configuration for tests
Maven profiles
...
- esb.dev
- esb.prod
- esb.psSqlb - profile for PostgreSQL database
- esb.psSql.prod - profile for PostgreSQL database but PostgreSQL libraries are "provided"
CleverBus compilation OpenHub framework compilation with Maven for local use (=dev) with PostgreSQL database:
...