Pythomnic3k

Samples

Download and install the framework first. Then extract and run the samples below.

Samples (platform-independent)

   
E-mail report from a database  
This sample cage does hourly reporting, it extracts a report from a database and sends it via e-mail to a configured recipient. This requires e-mail, postgresql and schedule protocol packs to be installed.  
Send files to a JMS queue  
This sample cage picks up files from a directory and sends their contents to a JMS queue, each as a separate message. This requires file and jms protocol packs to be installed.  
Simple web server  
This sample cage is a simple HTTP/HTTPS server delivering HTML files from a directory. This requires http protocol pack to be installed.  
Two cages exchanging RPC calls  
This sample contains two cages with one periodically calling the other using synchronous RPC and asynchronous enqueued calls. This requires schedule protocol pack to be installed.  
Performance monitoring of a loaded cage  
This sample contains a cage which keeps sending requests to itself thus being under a considerable load. You can access the cage's performance web page to monitor its activity. This requires schedule and http protocol packs to be installed.