Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    gocept.amqparchive 1.2.3

    Download button

    No screenshots available
    Downloads: 107  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    gocept | More programs
    ZPL / FREE
    April 21st, 2012, 09:53 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    gocept.amqparchive description

    Archiving, indexing and search for AMQP messages

    gocept.amqparchive is an add-on application for gocept.amqprun that provides three features:

    - Archive queue messages by writing them to the filesystesm
    - Index those messages using ElasticSearch
    - Search for messages with a HTML/JavaScript GUI

    Installation

    gocept.amqparchive requires an ElasticSearch server. To set up the archive and index portion, add something like this to your gocept.amqprun configuration:

    < eventlog >...< /eventlog >
    < amqp-server >...< /amqp-server >
    < worker >
     amount 2
     component-configuration site.zcml
    < /worker >
    < settings >
     gocept.amqparchive.elastic_hostname localhost:9200
    < /settings >


    and in site.zcml:

    < configure
     xmlns="http://namespaces.zope.org/zope"
     xmlns:amqp="http://namespaces.gocept.com/amqp" >

     < include package="gocept.amqprun" / >
     < include package="gocept.amqparchive" / >

     < amqp:writefiles
     routing_key="key.one key.two key.three"
     queue_name="archive"
     directory="/path/to/archive"
     pattern="{routing_key}/{date}/{msgid}-{unique}.xml"
     / >
    < /configure >


    The HTML/JavaScript GUI expects /elasticsearch to proxy to the ElasticSearch server, and /messages to point to the archive directory (/path/to/archive in our example). Here's an nginx config snippet:

    http {
     upstream elasticsearch {
     server localhost:9200;
     }

     server {
     listen localhost:8080;

     location /search/ {
     alias /path/to/gocept.amqparchive.egg/gocept/amqparchive/browser/;
     index index.html;
     }

     location /elasticsearch/ {
     proxy_pass http://elasticsearch/;
     }

     location /messages/ {
     alias /path/to/archive/;
     autoindex on;
     }
    }



    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Catch connection errors to ElasticSearch so they don't break the normal message handling. Messages that have not been index due to this can still be indexed later on via reindex_directory (#9363).

      


    TAGS:

    AMQP messages | AMQP archiving | gocept.amqprun add-on | AMQP | messages | archiving



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM