473,320 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Queueing in Python (ala JMS)


Is there a JMS-like API available for Python? I would like to
quickly receive messages through the network and then process
those slowly in the backgound. In the Java world I would simply
create a (persistent) queue and tell the JSM provider to run
N messagehandlers parallel.

Is something like that available for Python?

S.
Dec 20 '05 #1
4 3183
Stefan Arentz wrote:
Is there a JMS-like API available for Python? I would like to
quickly receive messages through the network and then process
those slowly in the backgound. In the Java world I would simply
create a (persistent) queue and tell the JSM provider to run
N messagehandlers parallel.

Is something like that available for Python?


You could always use Jython or JPype.

There is a wrapper for Spread that might be interesting for you.
http://www.zope.org/Members/tim_one/spread

Dec 20 '05 #2
On Dec 20, 2005, at 9:01 AM, Stefan Arentz wrote:
Is there a JMS-like API available for Python? I would like to
quickly receive messages through the network and then process
those slowly in the backgound. In the Java world I would simply
create a (persistent) queue and tell the JSM provider to run
N messagehandlers parallel.


The closest thing to what you are looking for is the Spread Toolkit,
which is located at http://www.spread.org. Spread has Python
bindings available from the Python Package Index (http://python.org/
pypi).

Spread allows you to multicast messages to a large number of clients
without knowing anything about where those clients are, or how to
connect to them. It provides guarnateed and reliable delivery of
messages for connected clients. However, it does not provide what
JMS calls "durable" subscriptions in that you must be connected to
the network to be guaranteed to receive a message.

I have implemented a prototype distributed event system on top of the
spread toolkit that provides some durable subscription like
functionality. I am hoping to Open Source the code at some point in
the next few months, but in the meantime, you can achieve most of
what you need with spread.

--
Jonathan LaCour
http://cleverdevil.org
Dec 20 '05 #3
> Is there a JMS-like API available for Python?

Better. >:-> Omninotify, a Corba notification service implementation.

Sincerely,

Wolfgang Keller
Dec 20 '05 #4

Wolfgang Keller wrote:
Is there a JMS-like API available for Python?


Better. >:-> Omninotify, a Corba notification service implementation.

Sincerely,

Wolfgang Keller


And it's ICE (a CORBA alternative with Python bindings) equivalent

IceStorm
A messaging service with support for federation. In contrast to most
other messaging or event services, IceStorm supports typed events,
meaning that broadcasting a message over a federation is as easy as
invoking a method on an interface.

Dec 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: csafd | last post by:
hi everyone, can anyone help me here, I want to know which communication technology is good for my system(which of course is being implemented as a distributed system). The technologies which I...
0
by: Helge Nilsen | last post by:
Hi, I have challange related to JMS usage of sockets. A JMS Client connect to a JMS Server over HTTPS through a proxy. My understanding is that a socket is created between the JMS client and...
0
by: Steve | last post by:
I need to introduce a JMS reconnect feature into an existing application. Basically, the application is a simple consumer of messages from a JMS topic. My requirement is to have the application...
2
by: Sarah Wang | last post by:
Does python have JMS-like messaging service? (open-source preferred) or any kind of message queue server?
12
by: Ray | last post by:
Hello, I've got the chance to determine the technology to use in creating a product similar to this: http://www.atomicisland.com/ Now the thing is that I need to sell this to the guy with...
3
by: tksri2000 | last post by:
I am looking to use python to talk to JMS. Can some please point me to such resources if this is possible. Sri
31
by: stéphane bard | last post by:
hello, my boss ask me to prefer windev to python. I have to argue - python work on multiple platform (linux, mac, windows) A good point but it didn't interest him. Because we want to choose a...
3
by: Leonard J. Reder | last post by:
Hello, I would like to write some Python to monitor a JMS middleware software bus. JMS being Java Messaging Service. Can anyone recommend a Python wrapper to JMS for this? My goal is to...
0
by: joecch | last post by:
Hi all, I am learning JMS and so I have downloaded "Java EE SDK 5 Update 2" (available at https://sdlc5a.sun.com/ECom/EComActionServlet;jsessionid=500D73F57050D281F4B6B5289DA3C254) and installed...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.