Class WhatsAppServiceRestAPIAdapter
- java.lang.Object
-
- org.apache.camel.component.whatsapp.service.WhatsAppServiceRestAPIAdapter
-
- All Implemented Interfaces:
WhatsAppService
public class WhatsAppServiceRestAPIAdapter extends Object implements WhatsAppService
Java11 Http Client implementation
-
-
Constructor Summary
Constructors Constructor Description WhatsAppServiceRestAPIAdapter(java.net.http.HttpClient client, String baseUri, String apiVersion, String phoneNumberId, String authorizationToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsendMessage(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback, BaseMessage message)
-
-
-
Method Detail
-
sendMessage
public void sendMessage(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback, BaseMessage message)- Specified by:
sendMessagein interfaceWhatsAppService
-
-