Apache Camel and Web Service -
i'm new camel , trying simple thing. inside camel want expose web service have request , response
public response mymethod(request r) { //some logic here }
inside method request validation: , if invalid reply code (failure) in response.
if valid, reply code (success).
in case of success need camel route kick in, take request, transform , send service.
what not understand - how reply client response , @ same time kick off camel route.
tried find example on google ... not able to. can camel want ?
i not quit sure understand question reply , continue flow can use camel wiretap functionality. can find example , explanation here. http://camel.apache.org/wire-tap.html
Comments
Post a Comment