servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert Vanthienen (Updated) (JIRA)" <>
Subject [jira] [Updated] (SMX4-454) Provide example : camel-loadbalancing-cxf-jax-rs-dao
Date Thu, 01 Dec 2011 21:36:40 GMT


Gert Vanthienen updated SMX4-454:

    Fix Version/s:     (was: 4.4.0)

Deferring to 4.5.0
> Provide example : camel-loadbalancing-cxf-jax-rs-dao
> ----------------------------------------------------
>                 Key: SMX4-454
>                 URL:
>             Project: ServiceMix 4
>          Issue Type: New Feature
>            Reporter: Charles Moulliard
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.5.0
>         Attachments:
> I will provide my code for the users interested to do this kind of architecture in SMX4
> REST requests can be balanced across several jetty / HTTP Servers. The requests are processed
by CXF Bean endpoint extracting the information (operation type; parameters) and placed in
ActiveMQ queue. Another camel route process the messages from the queue and dependingon the
operation type call the method of a service bean (= DAO). This class is handled by Spring/EclipseLink
and connect to a DB (HSQLDB/Derby) to post or retrieve data. The result is send back to the
CXF bean endpoint
> Remark : To have a real cluster architecture, users could deploy the second camel route
in several instances (same SMX4 server or separate) in order to show that we can consume messages
of a queue from different endpoints (if one fails, another can process it)
> Technology involved :
> - Spring OSGI Service
> - Spring ORM 
> - EclipseLink JPA
> - Camel (camel-jetty, camel-cxf, camel-http, camel-jms, loadbalancing, routing)
> - DAO

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message