Comments (5)
You should use an HTTP route. Make an HTTP route that you can send commands to. From that you can have it post messages anywhere.
Take a look at:
They both provide http routes that are used to post messages to channels
from lita.
@webdestroya nice solution, but may be some internal call would be better
from lita.
@toothfairy Are you asking for a way to send data to a running Lita process from another process on the same system? If so, I'd like to hear more about what you're trying to do and how you imagine it might work. If the notification is coming from another system over the network, HTTP is your best bet.
from lita.
@jimmycuadra yep i'm talking about interaction inside of the same system. Solution i think about some built-in DRb server or multiple handlers support. dunno tho may be http solution would be much easier
from lita.
Monit has some documentation about using HTTP to send notifications to external services: http://mmonit.com/wiki/MMonit/Notification
Unless there is something you find you cannot achieve with HTTP, I think adding another inbound communication mechanism is probably overkill for the moment.
from lita.
Related Issues (20)
- send_messages to a room does not work with hipchat HOT 1
- Overriding the default help command HOT 3
- Allow to restrict authorization at the plugin level. HOT 2
- Multiple handlers under namespace block configuration HOT 4
- Proxy
- Custom Handler not loading HOT 4
- Handle the interactive message callback HOT 1
- Hipchat v1 api support removed, any plugin with v2 support ? HOT 1
- Adding HTTP URL for adapters HOT 3
- passthrough has been deprecated log spam HOT 1
- TLS issue HOT 1
- my redis requires user and password, how to set in config? HOT 2
- http.post handler not routing - 404 not found HOT 7
- Lita bot status HOT 7
- New release? HOT 1
- Incorrect I18n.locale inside route HOT 5
- Error when require "lita/rspec" HOT 1
- Redis namespace should be configurable
- Disabling Rack App
- Lita does not mute logger during spec runs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lita.