Not logged in. · Lost password · Register
Forum: MatriX RSS
I want to send message to a set of users in a single shot.
Avatar
shashankjain91221 #1
User title: Programmer
Member since Sep 2016 · 1 post · Location: CA
Group memberships: Members
Show profile · Link to this post
Subject: Multicast message to list of users
Hi,
I am a newbie to XMPP and Matrix Lib. I want to send message to a list of users , i gone through the below discussions,

http://forum.ag-software.net/thread/1934-Send-message-to-m…
http://forum.ag-software.net/thread/1482-Send-Message-To-a…

I have tried to implement the code given in these discussions for multicast messages, but did not get hit receive message handler,

Here are my environment details:
Server: Openfire

My query is in the code it is mentioned that we need to send stenza like,

  1. <message to="multicast.mydomain" from="50ef42f6-aad3-4720-893c-0004dc3eedfe@mydomain/b96b1237-7be9-4223-9a0e-ae80b4ebb1a8">
  2. <body>##@@</body>
  3. <addresses xmlns="http://jabber.org/protocol/address">
  4. <address type="to" jid="305b0fc7-9111-45c5-8817-9b979310253e.mydomain" desc="305b0fc7-9111-45c5-8817-9b979310253e"/>
  5. <address type="cc" jid="EBFC723D-3CCB-4BA1-A3D8-EE877D99587B.mydomain" desc="EBFC723D-3CCB-4BA1-A3D8-EE877D99587B"/>
  6. </addresses>
  7. </message>

So What should be  to="multicast.mydomain" in my case and where i can get this information.
This post was edited on 2016-09-21, 17:40 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by shashankjain91221:
So What should be  to="multicast.mydomain" in my case and where i can get this information.

I don't know. Please consult the Openfire documentation or developers to find out.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS