java - How Apache CAMEL can help in this enterprise integration use case? -
my application needs work middleware has got orders(in form of xml) various customers contains supplier id custmers can send xml 1 of these components
1)jms queue 2)file system 3)http 4)web service request(rest/soap)
once gets order, needs send order requests different suppliers in form of xml. somehow spotted http://java.dzone.com/articles/open-source-integration-apache looks provides perfect solution. though have couple of questions. here are:-
1) @ link in figure 3, how can introduce orderservice in between output of marshalling (which pojo here) , order queue output of marshalling -----------> orderservice(instead of order queue)-------------->orderqueue
2) if need convert pojo xml , send xml output orderservice different third part vendor vendor information stored in db can fetch based on item id . can specify endpoints @ exit defined @ entry point in example @ link
3)if need send acknowledgement clients (information lies contained in order). looks need handle myself. if thats case fine it
but sure camel must have ready made solution point 1 , 2. new camel. please advice ? found spring integration equally good.but looks camel more used , evolving @ high speed , think of going ahead it.
4) point understand camel in better way. when file request coming thru http, camel putting file object on jms queue while normalizing , converting file object string element convertbodyto. right? if incoming http request in not file request simple name value pair, camel write on queue?
i split question on two:
- do need use application logic while transferring , transformation data various sources
- do need use use esb solution creating routes between various system on service bus.
if want use esb service bus send acknowledgement systems , other staff. http://en.wikipedia.org/wiki/enterprise_service_bus
at other hand implementation you.
Comments
Post a Comment