powered by Jive Software

Openfire and Smack - PEP

I’m trying to get PEP working. I did setup openfire_4_1_3.zip with pretty much all default settings. Use Smack 4.2.0. Basic code is:

PEPManager pepManager = PEPManager.getInstanceFor(connection);
            boolean worked = pepManager.addPEPListener(new PEPListener() {
                public void eventReceived(EntityBareJid from, EventElement event, Message message) {
                    // do something                 }
            if (pepManager.isSupported())
                pepManager.publish(new Item("pepItem1"), "testNode");

But pepManager.isSupported() is false. I tried it with account on xmpp.jp and the same code ‘almost’ works. pepManager.isSupported() returns true but the I get some error. But this is different issue. Why pepManager.isSupported() is false with Openfile? Am I missing something in setup?

Thank you

the issue with pepManager.isSupported() has been fixed in Openfire 4.6.0 Beta. Openfire is returning all necessary features as requested by Smack 4.3.4

1 Like