Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

hackmare.

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

    /J\

      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"?

      hackmare.
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.

    --
    <http://dave.org.uk>

    "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?

      hackmare.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2020-02-28 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (127 votes). Check out past polls.

    Notices?