Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

JMS in perl?

by hackmare (Pilgrim)
on Jul 24, 2006 at 10:14 UTC ( #563227=perlquestion: print w/replies, xml ) Need Help??

hackmare has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I've got to hook a Perl app into JMS (to send/recieve messages to/from queues on a JMS server) and can not find any prior art in google or perl monks about it. Does anyone have any pointers as to where I could find resources for this? Even just the JMS standard so I can roll my own client would be a good start for me Thanks


Replies are listed 'Best First'.
Re: JMS in perl?
by gellyfish (Monsignor) on Jul 24, 2006 at 10:43 UTC

    My personal inclination would be to create a small piece of "middleware" in Java that can expose the JMS queues via a web service interface and then use existing Perl modules to access that.

    Depending on the JMS implementation you might also have an API in some other language that you can use more easily from Perl than Java.

    And of course there is always Inline::Java


      Thanks gellyfish, I'm considering this option, and in this particular case (Tibco EMS), there may even be an sdk somewhere for Perl if I am lucky. I'm tempted to use Inline::Java, but am not so familiar with it. Is it reliable in important systems, or does it suffer from "issues"?

Re: JMS in perl?
by davorg (Chancellor) on Jul 24, 2006 at 10:27 UTC

    A small hint on asking meaningful questions. If you're going to use an abbreviation in your question, then please explain which expansion of the abbreviation you are talking about. I assume that by "JMS", you mean Java Messaging Service, but there are many other possibilities.


    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

Re: JMS in perl?
by Khen1950fx (Canon) on Jul 24, 2006 at 11:34 UTC
    I agree with gellyfish. In addition to the Inline::Java module, there's an object-oriented module that you might want to try: PBJ::JNI

    Also, you want to see the JMS specification to "roll" your own. See:

    Java Message Service Specification-v1.1

      Thanks for the spec link. Exactly what I need. PBJ::JNI looks a little bit young. Do you know if it reliable/usable?


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://563227]
Approved by willyyam
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2023-02-05 13:32 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (31 votes). Check out past polls.