Re: Include jar files using Karavan

2023-09-12 Thread Marat Gubaidullin
Hello Daniel,

You could configure camel.jbang.dependencies in application.properties

More detailes https://camel.apache.org/manual/camel-jbang.html


Marat


On Tue, Sep 12, 2023, 05:59 Zmrzlý, Daniel  wrote:

> Hello,
>
> I am trying to eliminate a folder full of classes in the Karavan extension.
> Is there an option to include a jar file and access its Java classes?
>
> Regards
> Daniel
>


Re: NoopHostnameVerifier seems to not working any longer - Camel 3.20.2

2023-09-12 Thread Andrea Cosentino
Can you open an issue so we won't forget? Thanks

Il mar 12 set 2023, 19:55 Gerald Kallas  ha
scritto:

> Folks,
>
> we had a code (XML DSL) that was already working to skip SSL hostname
> validation like
>
>  class="org.apache.http.conn.ssl.NoopHostnameVerifier"/>
> ...
>  >
>
> It's not working anymore, getting
>
> javax.net.ssl.SSLHandshakeException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target
>
> I tried also
>
>  >
>
> same error.
>
> The underlying Java (within a Docker containe) is
>
> openjdk version "11.0.11" 2021-04-20
> OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
> OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed
> mode)
>
> Any ideas?
>
> Best
> Gerald


NoopHostnameVerifier seems to not working any longer - Camel 3.20.2

2023-09-12 Thread Gerald Kallas
Folks,
 
we had a code (XML DSL) that was already working to skip SSL hostname 
validation like
 

...

 
It's not working anymore, getting
 
javax.net.ssl.SSLHandshakeException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
 
I tried also
 

 
same error.
 
The underlying Java (within a Docker containe) is
 
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)
 
Any ideas?
 
Best
Gerald

Include jar files using Karavan

2023-09-12 Thread Zmrzlý , Daniel
Hello,

I am trying to eliminate a folder full of classes in the Karavan extension.
Is there an option to include a jar file and access its Java classes?

Regards
Daniel