camel recipientlist calling rest service is not returning json response to browser -


i have following camel route :

<camelcontext trace="false" id="blueprintcontext"  xmlns="http://camel.apache.org/schema/blueprint">     <route id="addressroute">     <from uri="cxfrs:bean:addresssearchendpoint"/>         <removeheaders pattern="camelhttp*"/>         <recipientlist>             <simple>http4://<someurl>/postcodeanywhere/interactive/retrievebyaddress/v1.20/json.ws?key=<somekey>&amp;amp;address=wr2%206nj&amp;amp;company=&amp;amp;username=provi11136</simple>         </recipientlist>         <log message="${body}"/>     </route> 

which uses recipient list invoke external rest service. issue having although see response in log:

[ qtp269562434-42] addressroute info [{"udprn":"52269655","company":"","department":"","line1":"2 wylcotts","line2":"moseley road","line3":"hallow","line4":"","line5":"","posttown":"worcester","county":"worcestershire","postcode":"wr2 6nj","mailsort":"94141","barcode":"(wr26nj4d7)","type":"residential"}]

it not appear in browser when invoke

http://localhost:9191/cxf/addresssearch/

anything missing? thanks

i solved removing log tag @ end.


Popular posts from this blog