Exception handling for microprofile reactive messaging on open liberty

I am currently trying to implement a consumer for kafka messages based on the openliberty mpReactiveMessaging feature: https://openliberty.io/blog/2019/09/13/microprofile-reactive-messaging.html Given a method like: @Incoming(“greetings”) public CompletionStage <Void> consume(Message<String> greeting ){ throw new RuntimeException(“Something really bad happened.”); } How can I implement error handling for these kinds of exceptions? The default behaviour is that the consumer stops…

Details

Dynamic CSP (Content Security Policy) connect-src in Angular

I defined the CSP within meta tags in my Angulars project index.html file <meta http-equiv=”Content-Security-Policy” content=”default-src ‘self’; connect-src ‘self’ https://baseurl1/ https://baseurl2/ https://baseurl3/; img-src ‘self’ data: http://baseurl/; frame-src ‘self’ blob:; media-src ‘self’ https://baseurl/; script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’ http://baseurl/; style-src ‘self’ ‘unsafe-inline’;”> My issue is, that I want to whitelist exactly one more connect-src dynamically based on…

Details