johbossle commented on PR #10505:
URL: https://github.com/apache/camel/pull/10505#issuecomment-1610864712

   Just want to end up here with an example usage pattern to supply custom 
authentication header:
   
   ```java
   public class AuthenticatingLRASagaService extends LRASagaService {
     @Override
     protected LRAClient createLRAClient() {
       return new LRAClient(this, HttpClient.newBuilder().build()){
         @Override
         protected HttpRequest.Builder prepareRequest(URI uri) {
           HttpRequest.Builder builder = super.prepareRequest(uri);
           builder.header("Authentication", "MY_TOKEN");
           return builder;
         }
       };
     }
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to