để nhận chuỗi data json, phần xử lý nằm ở Processor. Trong processor cần có đầu output để gửi cho https://gorest.co.in/public/v1/users vậy e cần dùng exchange để xét output như nào để có thể request tới api trên và nhận đc kết quả. E cảm ơn!
<cxf:rsServer id="restServer" address="/user" loggingFeatureEnabled="true" serviceClass="fis.integration.core.endpoint.UserEndpoint"> <cxf:providers> <bean id="jsonProvider" class="org.codehaus.jackson.jaxrs.JacksonJsonProvider" /> </cxf:providers> </cxf:rsServer>
<cxf:rsClient id="getRestApi" address="https://gorest.co.in/public/v1/users" serviceClass="fis.integration.core.InterfaceService.UserEndpoint" loggingFeatureEnabled="true"> </cxf:rsClient>
