Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Sending and Receiving Message from Service Bus Queue via Java Program

$
0
0

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.



Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>