You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Tobias Letschka <tl...@covernet.de> on 2021/08/04 14:00:46 UTC

Consume a RestAPI with netty or http

Hi,

i am search a solution to connect and consume (POST-Call) Rest-API with SSL (HTTPS):

Call looks like:

 .to("netty-http:https:{{baseURL}}/auth/realms/{{realm}}/protocol/openid-connect/token?sync=true&ssl=true&passphrase=#password&keyStoreFile=#ksf&trustStoreFile=#tsf")

I found this tutorial:

https://camel.apache.org/components/latest/netty-component.html#_an_ssltcp_based_netty_consumer_endpoint_using_request_reply_communication
Netty :: Apache Camel<https://camel.apache.org/components/latest/netty-component.html#_an_ssltcp_based_netty_consumer_endpoint_using_request_reply_communication>
The Netty component in Camel is a socket communication component, based on the Netty project version 4. Netty is a NIO client server framework which enables quick and ...
camel.apache.org
Is that the right way?

Regards

Tobias