I am trying to Send and Receive message to Service Bus Queue via Java Program. I am following the official doc [send/receive doc], When I am writing the following Java Code below :-
Configuration config = ServiceBusConfiguration.configureWithSASAuthentication("HowToSample","RootManageSharedAccessKey","SAS_key_value",".servicebus.windows.net" );
It is giving me error saying "The method configureWithSASAuthentication(String, String, String, String) is undefined for the type ServiceBusConfiguration". The dependency I am using is Below:-
<dependency><groupId>com.microsoft.windowsazure</groupId><artifactId>microsoft-azure-api-servicebus</artifactId><version>0.5.0</version></dependency>Can someone help me out with this issue? Am I missing some dependency.