powered by Jive Software

Plugin create

Hi all,

I want to create plugin. In that plugin contains servlet which will call a HttpGet request to outside server using HttpConnection. (I’m already got XMl from that server uisng a Servelt class). I want to send those data to all openfire online user. how do i add those data to opefnire packet or session that openfire can send to user. Can anybody help me abt this. if any example are available i will be greate to him.



I had a little trouble getting plugins working, but my best bet was getting the source code and looking through the plugins that are included.

I am not quite following your example, is this a one time thing, something on a timer or something else. You might want to look at external components, that might be a better fit for what you are trying to do.

take a look at this page :

http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/plugin-d ev-guide.html

for sending and accepting data : use IQs , IQ Handlers and Providers.

nice programming !

You can create an org.xmpp.packet.Message instance to contain your information.

Message msg = new Message();


Then use SessionManager to broadcast it to all current users.