Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmuellr/stomp-copy
A small program to read from a STOMP queue and write the messages to a CouchDB database.
https://github.com/pmuellr/stomp-copy
Last synced: about 1 month ago
JSON representation
A small program to read from a STOMP queue and write the messages to a CouchDB database.
- Host: GitHub
- URL: https://github.com/pmuellr/stomp-copy
- Owner: pmuellr
- Created: 2015-01-13T17:05:30.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-13T21:29:34.000Z (almost 10 years ago)
- Last Synced: 2024-04-09T21:04:47.991Z (9 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
stomp-copy
================================================================================A small program to read from a STOMP queue and write the messages to a CouchDB
database.to run locally
--------------------------------------------------------------------------------node index.js
where `host` is the hostname of the STOMP server, and `queue` is the name of
the queue to read from.You will need to be running a version of [CouchDB](http://couchdb.apache.org/)
locally if you want to save the records when run locally.to run on Bluemix / Cloud Foundry
--------------------------------------------------------------------------------Create a user-provided service with the following command:
cf cups stomp -p "host,queue"
You will be prompted for the host and queue values for the STOMP queue.
Create a Cloudant Database with the command:
cf create-service cloudantNoSQLDB Shared stomp-db
Copy the file `manifest-sample.yml` to the file `manifest.yml`and change the
`host` property to a hostname unique across your Cloud Foundry instance.Finally, push the application
cf push