Skip to content
Advertisement

Apache Camel: access Route after polling

I’m using Camel JPA endpoints to poll a database and copy the data to a second one. To not poll duplicates, I’m planning to save the highest ID of the copied data and only poll data with an ID higher than that one. To save a few database writes, I want to write back the highest ID after the current

Provide SSL certificate to SQL Server via JDBC

The Microsoft JDBC SSL documentation details the use of a Java keystore in order to specify a certificate bundle to use when validating the TLS connection. Is there a way to provide a certificate bundle without needing to store it within a JKS when connecting to a SQL Server database? Postgres seems to have a sslrootcert option which appears to

Unable to map target properties using constructors with mapstruct

I am using MapStruct 1.5.2.Final Map struct is unable to map the target values using the parameterised constructor. Following is the parameterised constructor for the class. I know that if I would have exposed the setters, this would have worked. I don’t want to expose the setters for my class as I want my class to be immutable. I am

Advertisement