Call for Presentations now open, ApacheCon North America 2022

2022-03-30 Thread Rich Bowen
[You are receiving this because you are subscribed to one or more user
or dev mailing list of an Apache Software Foundation project.]

ApacheCon draws participants at all levels to explore “Tomorrow’s
Technology Today” across 300+ Apache projects and their diverse
communities. ApacheCon showcases the latest developments in ubiquitous
Apache projects and emerging innovations through hands-on sessions,
keynotes, real-world case studies, trainings, hackathons, community
events, and more.

The Apache Software Foundation will be holding ApacheCon North America
2022 at the New Orleans Sheration, October 3rd through 6th, 2022. The
Call for Presentations is now open, and will close at 00:01 UTC on May
23rd, 2022.

We are accepting presentation proposals for any topic that is related
to the Apache mission of producing free software for the public good.
This includes, but is not limited to:

Community
Big Data
Search
IoT
Cloud
Fintech
Pulsar
Tomcat

You can submit your session proposals starting today at
https://cfp.apachecon.com/

Rich Bowen, on behalf of the ApacheCon Planners
apachecon.com
@apachecon


Aw: Re: Manage health checks at runtime

2022-03-30 Thread Benjamin Graf
Hi Clause,
 
thx for the answer. I just recognized that Camel 3.16.0 got a "new" health 
check API. Will take a deep look into this, soon. Is the next LTS release 
planed, yet? Maybe 3.17.0?

Regards,
Benjamin
 

Gesendet: Dienstag, 29. März 2022 um 21:56 Uhr
Von: "Claus Ibsen" 
An: users@camel.apache.org
Betreff: Re: Manage health checks at runtime
Hi

Health checks can be excluded via patterns
https://camel.apache.org/manual/health-check.html#_excluding_health_checks

The remainder active health checks can be enabled/disabled
individually with the setEnabled setter, but that requires to get hold
of the health check via its ID etc.
There is a HealthCheckHelper method with some lookup methods.

Also health checks can/are enlisted as JMX MBeans so you can find them
there too to disable

On Mon, Mar 28, 2022 at 7:15 PM Benjamin Graf  wrote:
>
> Hi,
>
> does anybody know a way to enable/disable route/consumer checks for
> specific items at runtime. As I can see it's only possible to
> enable/disable the complete repository itself and the HealthCheck once
> computed seems not reconfigurable any more.
>
> Maybe worth for an enhancement?
>
> Regards
>
> Benjamin
>


--
Claus Ibsen
-
http://davsclaus.com[http://davsclaus.com] @davsclaus
Camel in Action 2: 
https://www.manning.com/ibsen2[https://www.manning.com/ibsen2]


Web socket client

2022-03-30 Thread Knut-Håvard Aksnes
I need a web socket library working as a client library for a project I am
working on currently. When using Camel 3.15 I did use AHC websocket for
this, due to its depreciation in 3.16 I am trying to use Vertx websockets
instead as it is documented to work both as server and as client library. I
need it to work as a pure client but can't find any documentation on how to
do this. It is important that the component I am using doesn't try to start
a server even when being given a local address as this will create problems
for integration testing.


Re: Web socket client

2022-03-30 Thread Knut-Håvard Aksnes
A quick note I am using the WS connections bidirectionaly so I need both
producers and a consumer on the same client connection. This works with AHC
websockets but I haven't found any of the other WS components documenting
how to do this. Some might do so but it is not documented in component
documentation. I also suspect that some will automatically start a server
when a local address is used which makes integration testing hard. In
production client and server will live in different networks, during
development and partially during testing they will live on the same machine.


ons. 30. mar. 2022, 16:23 skrev Knut-Håvard Aksnes :

> I need a web socket library working as a client library for a project I am
> working on currently. When using Camel 3.15 I did use AHC websocket for
> this, due to its depreciation in 3.16 I am trying to use Vertx websockets
> instead as it is documented to work both as server and as client library. I
> need it to work as a pure client but can't find any documentation on how to
> do this. It is important that the component I am using doesn't try to start
> a server even when being given a local address as this will create problems
> for integration tesdifficult
>


Re: Web socket client

2022-03-30 Thread Romain Manni-Bucau
Hi,

AFAIK it is not that possible as of today but using JSR356 (used under the
hood in
https://camel.apache.org/components/3.15.x/websocket-jsr356-component.html)
you can achieve that setting the ws session in the route as property (or
alike) so can be faster and more reliable to extend the existing component
or write your own right now.

Romain Manni-Bucau
@rmannibucau  |  Blog
 | Old Blog
 | Github  |
LinkedIn  | Book



Le mer. 30 mars 2022 à 16:52, Knut-Håvard Aksnes  a
écrit :

> A quick note I am using the WS connections bidirectionaly so I need both
> producers and a consumer on the same client connection. This works with AHC
> websockets but I haven't found any of the other WS components documenting
> how to do this. Some might do so but it is not documented in component
> documentation. I also suspect that some will automatically start a server
> when a local address is used which makes integration testing hard. In
> production client and server will live in different networks, during
> development and partially during testing they will live on the same
> machine.
>
>
> ons. 30. mar. 2022, 16:23 skrev Knut-Håvard Aksnes :
>
> > I need a web socket library working as a client library for a project I
> am
> > working on currently. When using Camel 3.15 I did use AHC websocket for
> > this, due to its depreciation in 3.16 I am trying to use Vertx websockets
> > instead as it is documented to work both as server and as client
> library. I
> > need it to work as a pure client but can't find any documentation on how
> to
> > do this. It is important that the component I am using doesn't try to
> start
> > a server even when being given a local address as this will create
> problems
> > for integration tesdifficult
> >
>


Re: Re: Manage health checks at runtime

2022-03-30 Thread Claus Ibsen
Next LTS is in June and targeted as 3.18.

On Wed, Mar 30, 2022 at 4:05 PM Benjamin Graf  wrote:
>
> Hi Clause,
>
> thx for the answer. I just recognized that Camel 3.16.0 got a "new" health 
> check API. Will take a deep look into this, soon. Is the next LTS release 
> planed, yet? Maybe 3.17.0?
>
> Regards,
> Benjamin
>
>
> Gesendet: Dienstag, 29. März 2022 um 21:56 Uhr
> Von: "Claus Ibsen" 
> An: users@camel.apache.org
> Betreff: Re: Manage health checks at runtime
> Hi
>
> Health checks can be excluded via patterns
> https://camel.apache.org/manual/health-check.html#_excluding_health_checks
>
> The remainder active health checks can be enabled/disabled
> individually with the setEnabled setter, but that requires to get hold
> of the health check via its ID etc.
> There is a HealthCheckHelper method with some lookup methods.
>
> Also health checks can/are enlisted as JMX MBeans so you can find them
> there too to disable
>
> On Mon, Mar 28, 2022 at 7:15 PM Benjamin Graf  wrote:
> >
> > Hi,
> >
> > does anybody know a way to enable/disable route/consumer checks for
> > specific items at runtime. As I can see it's only possible to
> > enable/disable the complete repository itself and the HealthCheck once
> > computed seems not reconfigurable any more.
> >
> > Maybe worth for an enhancement?
> >
> > Regards
> >
> > Benjamin
> >
>
>
> --
> Claus Ibsen
> -
> http://davsclaus.com[http://davsclaus.com] @davsclaus
> Camel in Action 2: 
> https://www.manning.com/ibsen2[https://www.manning.com/ibsen2]



-- 
Claus Ibsen
-
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2


Why rest consumer isn't using HTTPS

2022-03-30 Thread Roberto Camelk
definedI created an integration to invoke itself 10 times.

https://pastebin.com/7vWwKuXT

But when the first request comes to it via e.g.
https://my-host/integration/token/xx/invoke/api/loop the second
one will be emitted using HTTP instead of HTTPS, even I had defined
the "restConfiguration().scheme("https")".

See the logs:

2022-03-30 18:08:20,065 DEBUG [org.apa.cam.pro.SendProcessor]
(executor-thread-0) 
rest://post:/integration/%7BX-Integration-Token%7D/invoke/api/loop
Exchange[]

2022-03-30 18:08:20,101 DEBUG [org.apa.cam.com.htt.HttpProducer]
(executor-thread-0) Executing http POST method:
http://my-host.com/integration/xxx/invoke/api/loop