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

Service Bus 1.0 samples in Java?

$
0
0

We have started investigating using "Service Bus 1.0" for an on-premise service bus and everything is looking pretty good so far from a .NET perspective. However, we also have a portion of our system that is Java based and would like whatever solution we implement to be able to support both languages.

Since Service Bus 1.0 is SDK compatible with Azure, my assumption is that I would be able to use the SDK for Java with the local Service Bus 1.0. Can we use the Java SDK against a local Service Bus instance and can someone point me to a quick example of sending/receiving messages from a queue on a local Service Bus?

Looking at the Java SDK, everything depends on creating a ServiceBusConfiguration instance, but the only options are:

* .configureWithWrapAuthentication - I'm not sure what to use for the 'serviceBusRootUri' and 'wrapRootUri' parameters

.configureWithConnectionString - what do I pass for the 'profile' and 'configuration' parameters? Most of the operations after that seem (mostly) straight forward.

Thanks in advance!



Viewing all articles
Browse latest Browse all 1916

Trending Articles



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