camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scottmiles <>
Subject Can How Apache CAMEL help in this enterprise integration usecase?
Date Sun, 06 Apr 2014 17:33:49 GMT
My application needs to work as middleware where it has got orders(in form of
xml) from various customers which contains the 
supplier id where custmers can send the xml to one of these components

    1)JMS queue
    2)File system
    4)Web service request(rest/soap)

Once it get the order, it needs to send order request to different suppliers
in the form of xml.Somehow i spotted and looks like
its provides the perfect solution.
Though i couple of questions. Here they are:-

1) At the link in Figure 3, How can I introduce my OrderService in between
output of marshalling(which is POJO here)  and order queue
 output of marshalling -----------> OrderService(instead of order
2) If i need to convert the POJO to  xml and send the  xml output from
orderService to different third part vendor
where vendor information is stored in db which i can fetch based on item id
. Can i specify the endpoints at exit also
as defined at entry point in example at link

3)If i need to send the acknowledgement to clients (information where lies
is contained in the order). looks like this i need to
handle myself. If thats the case i am fine with it

But i am sure CAMEL must have readymade solution for point 1 and 2. I am new
to CAMEL.  Please advice ?
I found Spring integration is equally good.But looks like CAMEL is more
widely used and evolving at high speed , so think of going ahead with it. 

4) This point is to understand CAMEL in better way. So when file request is
coming thru http, CAMEL is putting file object on jms queue but while
normalizing , it converting file object to String with 
element convertBodyTo. Right? What if incoming http request in not file
request but simple name value pair, what CAMEL will write on queue?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message