Skip navigation
2004 Views 6 Replies Latest reply: Mar 16, 2010 1:49 AM by LG RSS
cloudeeo Bronze 7 posts since
Mar 12, 2010
Currently Being Moderated

Mar 13, 2010 3:53 PM

Broadcast pluging use

Hello,

I'd like to send broadcast messages to selected groups of users.

I don't understand the sentence in the broadcast plugin readme which says to "send messages to [group]@[serviceName].[serverName]".

Is this a users group defined in the Openfire server admin or a contacts group of a Spark client?

 

How can I send a message to this group? I mean, I use a Spark client and I can send messages to specific users or use the Spark broadcast which is still related to contacts. Is there any other way I can send a message to [group]@[serviceName].[serverName]?

Is this something done from the Openfire admin console?

 

Thanks!

Claudio

  • LG KeyContributor 6,132 posts since
    Dec 13, 2005
    Currently Being Moderated
    Mar 14, 2010 8:52 AM (in response to cloudeeo)
    Re: Broadcast pluging use

    Hi Claudio,

     

    Openfire allows you to create groups. So you can send a message to a server group or to "all". Using Spark you may want to add "all@broadcast.example.com" to your roster or start a chat with it. Every message you send to this JID will be broadcasted.

     

    LG

      • LG KeyContributor 6,132 posts since
        Dec 13, 2005
        Currently Being Moderated
        Mar 15, 2010 10:35 AM (in response to cloudeeo)
        Re: Broadcast pluging use

        Hi Claudio,

         

        does "mygroup" contain upper case characters? It seems that there is a problem with upper case characters in groups.

         

        As long as you have permissions to use the broadcast plugin you should be able to subscribe to it. Otherwise the subscription will be rejected.

         

        LG

          • LG KeyContributor 6,132 posts since
            Dec 13, 2005
            Currently Being Moderated
            Mar 16, 2010 1:49 AM (in response to cloudeeo)
            Re: Broadcast pluging use

            Hi Claudio,

             

            did you define the Openfire system property "plugin.broadcast.allowedUsers" with the value "x@mydomain.com" (also in lower case)?

            "x" must then be able to create subscriptions with "all@broadcast.mydomain.com" and "mygroup@broadcast.mydomain.com", otherwise something goes wrong. Anyhow there is no debug information in the broadcast plugin so it's hard to tell what's going wrong. Exceptions will be logged but I doubt that you find something in the error log.

             

            LG

             

            PS: "mygroup@mydomain.com" is a simple JID, you could create a user named "mygroup" and chat with it.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points