Hi all, We have developed a Java framework which use JAX-RS and the CXF WebClient for REST HTTP calls and have been using it exclusively with JSON over the wire. We are now looking to introduce Google Protobuf as the media type and have implemented the code here <https://github.com/truward/protobuf-jaxrs/tree/master/protobuf-jaxrs/src/main/java/com/truward/protobuf/jaxrs> , registering this provider on our WebClient object and successfully sending GET and POST requests.
We have also extended the LoggingInInterceptor class and are using this to do some custom logging. However, the LoggingMessage object passed to the formatLoggingMessage method which contains the payload field uses a StringBuilder and as such, our protobuf payload is not being printed properly. Does anyone have any experience using Google Protobuf with CXF? If so, are we using the correct approach by adpoting this provider and is there any way we can change the default logging behaviour to correctly extract our payload? I've also seen these classes <https://github.com/namtzigla/cxf-protobuf> which also might be useful but we've not yet tried. Thanks in advance Sam Cross -- Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html
