in reply to Using Perl to Publishing to Message Queues
Inline::Java is probably what you want. Accessing an API can be as easy as STUDYing it. See the docs.
cheers
tachyon