Re: Message injection

2015-09-02 Thread Tomasz Sterna
Dnia 2015-09-01, wto o godzinie 09:23 -0600, Kyle Waters pisze:
> I'm able to insert a message into the queue table and have it pop up 
> for a user the next time they log in.  Is there a way to submit a 
> message and have it show up immediately for a logged in user with out 
> going through client authentication

jabberd2 was never designed to allow messing with storage directly.
storage module is opaque and you should not touch it bypassing the
daemon.

It's not that hard to connect the daemon over a client or component
connection to inject a message. [1]


[1] http://stackoverflow.com/questions/170503/commandline-jabber-client


-- 
 /o__  Talking about a piece of movie dialogue: Let's have some new
(_<^'  cliches. -Samuel Goldwyn






Message injection

2015-09-01 Thread Kyle Waters
I'm able to insert a message into the queue table and have it pop up for 
a user the next time they log in.  Is there a way to submit a message 
and have it show up immediately for a logged in user with out going 
through client authentication(by authenticating to the database or as 
system user instead).  ejabberd allows something like this with 
ejabberdctl just wanted to check if jabberd2 had similar functionality 
for a couple of use cases we have.


--
Kyle Waters
Lead Software Architect
5353 South 960 East Suite 100
Salt Lake City, Utah 84117
Phone (800)486-7955
Fax (801)685-8188
kwat...@venturedata.com 
Venture Data LLC 
--
Confidentiality Notice: This e-mail transmission may contain 
confidential or legally privileged material that is intended only for 
the individual or entity named in the e-mail address. If you are not the 
intended recipient, you are hereby notified that any disclosure, 
copying, distribution or reliance upon the contents of the e-mail is 
strictly prohibited. If you have received this e-mail transmission in 
error, please reply to the sender, so that proper delivery can be 
arranged, and then please delete the message from your inbox.