we have requirement to implement ssl communication between couchbase client and couchbase clusters. I am using spring data couchbase client api to interact with couchbase cluster, the problem with this api I did not find any property to enable ssl on couchbase client, can you please help me out to configure ssl on couchbase client.
the current spring-data-couchbase version runs against the 1.4 Java SDK, which is not able to work with encrypted communication.
The 2.0 SDK can do that, and we are currently in the process of migrating spring-data-couchbase to the new SDK. For now if you want to use it you most likely need to wire up your own beans with the new SDK.
Related
For Spring Boot based microservices communicating with each other via load-balanced clients (with Spring Cloud LoadBalancer) which client should be used, WebClient or OpenFeign?
From what I’ve read they both support Spring Cloud LoadBalancer. I know that WebClient also supports reactive, but that is not a feature we need.
Are both clients going to continue to be supported by Spring for the foreseeable future?
From what I can see Spring seems to be pushing WebClient. However, I still see development activity going on in the spring-cloud-openfeign github repo.
OpenFeign seems to be an easier/cleaner to use way of creating the clients, but are there any drawbacks compared to WebClient?
We have a Spring MVC application that we are migrating to Spring Webflux. We use Memcached in the existing application.
Is there any reactive client that we can use to interact with Memcached? We have seen the documentation for Redis but did not find anything for Memcached.
I want to host/run RESTHeart on an IBM WebSphere Application Server (traditional V8.5 or Liberty). For default RESTHeart is made to run on Undertow/JBoss(?).
Is there any possibility to do so? I couldn't find anything about that.
You can't. RESTHeart is a plain Java application, it is NOT meant to be ran inside any application server. It's not true it's made to run inside Undertow/JBoss, instead RESTHeart embeds Undertow, to serve HTTP requests very efficiently.
RESTHeart has been developed with a micro-services architecture in mind, because we wanted something simple, without the need to run and manage a fully fledged application server in our production environments.
I create a client in Domino to consume a web service that works with SOAP 1.2 and has HTTPBinding.
The client generation tool for Domino Designer Web services an error is displayed when trying to generate reporting that the SOAP accepted version is 1.1.
I decided to create the client with CXF framework through tool wsdl2java. In an agent I used these classes to consume the web service, however the below error was displayed. I think it's because of the SOAP version, but I'm not sure.
com.sun.xml.internal.ws.protocol.soap.MUTube getMisUnderstoodHeaders
INFO: Element not understood={http://www.w3.org/2005/08/addressing}Action
Also generated a jar of classes generated by wsdltojava and imported to another agent, but the error below is displayed.
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=, offset=6
The question is, no way consume a web service with SOAP 1.2 in Domino only supports up to version 1.1?
Thanks a lot!
I don't believe that Domino's web service consumer supports SOAP 1.2 at this time. You might be able to do what you need with an agent though - here's one way: How can I call a SOAP 1.2 Web service from a LotusScript agent?
In fact there is no way to natively consume a web service with soap version 1.2. There are already several requests from IBM to upgrade the SOAP version. What I did, was to develop a new layer through a new web service with the version SOAP 1.1, which internally calls the web service with the SOAP version 1.2;
I am trying to migrate an installation of WSO2 - ESB from an old 2003 server to a new 2012 server. The old server had version 2.0.2 while the new server has version 4.8.1. The application is running and I can log in and browse the system. The problem I have is that it appears to be missing components. For example, on the old server there are a list of services including: Proxy, Data, POJO, Spring, Jar ect..on the new server I only have Proxy service. The main service I only need is the Data service but I have no idea how to get that. I am completely new to Java and this application however my boss wants this up and running as the Data service we had on the old server is designed to pull a data feed from a remote SQL server and push it to another server we have. Please help, I have absolutely no idea how to proceed.
WSO2 has a complete middleware stack and it has many components where each of them has it's own specific functionalities so that users can select according to their requirements without overkill the server with lots of features. In abstract WSO2 ESB do the mediation (proxy), WSO2 Application Server do the service hosting and WSO2 Data Services Server can be use to pull data out from a remote SQL server which you need to engage with.
Also you can install the features of WSO2 Application Server and WSO2 Data Services Server to WSO2 ESB. But it's bit tricky since we may need to add some configuration files in order to work these feature properly.