Skip to content

lpatouchas/CdiCamelExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CDI Camel Example

A simple project that shows how to use Apache Camel transactional routes that consume from a jms queue, with CDI and JPA.
In addition it contains a rest service that puts messages to the queue which the camel route consumes. The project's setup is for Wildfly 8.2 and JDK 8.

It contains one route,that is transacted and consumes from the queue "myQueue". It does a dublication with a Memory Idempotent and if the message is not duplicate it calls a processor that creates and persists a simple domain object.

The rest interfaces exposes a PUT method at: "/CdiCamelExample/rest/msg" and expects a message body and a UNIQUE_ID header param.

About

A simple project that bootstraps Camel (using jms component) with CDI and JPA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages