Wednesday, 4 November 2015

Spring JMS + Azure Service Bus

I've been looking into using Azure Service Bus in our Java applications.  And, at least for us, that's Java Spring applications.  Even more specific, Spring JMS.  And, while I could find some documentation and examples around working directly with the JMS classes, there was nothing around how that will work using Spring JMS.

So I've knocked up my own example application, showing how I was able to get it all working.  All the rambling is on this page.  Feel free to leave comments or questions.  I found this to work, but I'm not claiming it's the only approach.

Sunday, 1 November 2015

So, now I'm an official contributor to Microsoft's Java API for Azure.  Who woulda thunk it?

We're using Azure at work, and had issues accessing it from our corporate network.  Fortunately, their Java API
  • Uses Jersey under the hood to make Rest calls into the Azure management layer
  • Hosts their source code on Github
So, like any other open-source product, I could get the code, find a solution that works for me locally and submit the change back to the project.  I can solve my issue immediately (without waiting for someone else to fix it for me) and I can provide my changes that may just help someone else down the track.

In this case, I could add some fairly standard code that allows Jersey to use a Proxy when connecting to the remote host.

I don't foresee myself being a major contributor.  But it is nice to see Microsoft walking the walk, as far as this project goes, with respect to open-source.