Resolve Error “Some selected protocols are invalid…”

Mule 3.8 supports only TLSv1.1 and TLSv1.2 by default due to vulnerability issues with TLSV1. So, by default only v1.1 and v1.2 TLS are enabled both at the Mule Runtime and the Anypoint Studio settings. This scenario is applicable when you have a https requestor in your flow and configure it to enable the TLSv1, as … Continue reading Resolve Error “Some selected protocols are invalid…”

Enabling/Disabling TLS settings in MuleSoft’s Anypoint Studio

You all must be knowing that Mule ESB 3.8 by default supports only TLSV1.1 and TLSV1.2. Some applications need to post to endpoints that are based on TLSV1.0 and in order for it to work in local while developing your application, you might have to enable TLSV1.0 in Anypoint Studio. Follow the steps to enable … Continue reading Enabling/Disabling TLS settings in MuleSoft’s Anypoint Studio

Shortcut for organizing Imports in Spring STS

Whenever you are writing OOP, basic thing you will do is to create many types and create instances of the types in other classes. And unless we import the types in the code, you will see unresolved references error. Instead of resolving each unresolved references, you can press CTRL+SHIFT+O that is a short cut for … Continue reading Shortcut for organizing Imports in Spring STS

Generate Interface from Implementation class using Spring STS

Lets say I have an implementation class already defined and now to be able to support SOLID principles, now I need to expose an interface for the implementation class so that we can perform the dependency injection. My existing class looks like this: package com.bankaccountholder.dal; import java.util.ArrayList; import java.util.List; import com.bankaccount.model.AccountHolder; public class AccountHolderRepositoryImplementation { … Continue reading Generate Interface from Implementation class using Spring STS