JMS is a Java API, so it can only be used with Java applications. But the messaging services that JMS is used with -e.g. MQ series- generally have APIs for a number of different languages. Check the documentation of the one you're using to see which languages it supports.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com