Skip to content

notreallly/camel-cxf-cdi-java-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Challenges

Fuse/Camel and A-MQ is an established toolkit for creating integration solutions. Fuse Integration Services and xPaaS A-MQ provide these core technologies as containerised building blocks on OpenShift. Whilst the basic technologies are familiar to anyone used to developing integrations based on Fuse / Fabric 6.2.1 and A-MQ 6.2.1, the documented differences between FIS and Fuse introduce challenges to glueing these two technologies together.

Location

Core Technologies

  • Red Hat JBoss xPaaS A-MQ
  • Red Hat JBoss xPaaS Fuse Integration Services
  • OpenShift

Solution Components

The project is broken down into two components:

Greeting

Produces a RESTful Camel CXFRS endpoint on /greeting, that will accept any input as an HTTP path parameter and create a message from it e.g:

http://cxf-cdi-java-example.uki-ose3.saleslab.fab.redhat.com/greeting/ben

Camel’s Kubernetes Service Discovery mechanism is then used to look up the namespace A-MQ instance, and the message is enqueued.

Also exposes a Jolokia instance of simpler interrogation.

Template

Produces the OpenShift namespace artifacts based on the fis-java-openshift image. Also creates the namespace message broker from the A-MQ xPaaS image.

Usage

OpenShift

The example can also be built and run using the included S2I template cxf-cdi-java-example.yaml

The template file can be used to create an OpenShift application template by executing the following command from the project root:

oc create -f openshift/cxf-cdi-java-example.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages