>
> Are you subclassing AbstractRosterManager? (recommended)

No, I'm implementing the interface directly.  I'll try using the
AbstractRosterManager.  However, I do notice that the JcrRosterManager
actually had overrides for every method in the interface.

Are you using any particular XMPP client(s) for that?


For testing I'm using Adium.  For production we'll be using jabber-net and
Strophe.  All work fine for sending messages.  I'm not working on the
client side development, so I don't have any direct test cases rigged up
for that.

You'd need to analyze what PresenceAvailabilityHandler.java makes out
> of your RosterManager info. You could check for example what a call
> to RosterUtils.getRosterItemsByState RosterManager rosterManager,
> Entity user) returns. It should not be empty lists.


I'll step through it again in the debugger.  Looking at it made my head
spin, but I'll set a breakpoint there to see what's actually happening.

The help is very much appreciated.

Cheers,
Patrick.

On Tue, Oct 16, 2012 at 10:25 PM, Bernd Fondermann <
[email protected]> wrote:

> More questions for trying to narrow down your problem...
>
> On Tue, Oct 16, 2012 at 7:17 AM, Patrick Twohig <[email protected]> wrote:
> > I've added my own RosterManager that connects to my existing database.
> >  Each user has a list of friends they will automatically be subscribed
> to.
> >  I'm just querying my database and populating the roster from that data.
>
> Are you subclassing AbstractRosterManager? (recommended)
>
> >  Optionally, the users may remove friends or add friends.  I can see the
> > roster, I just can't see the presence notifications.
>
> Are you using any particular XMPP client(s) for that?
>
> > IN other words, the
> > list always appears as offline.  Not sure why this is, though.
>
> You'd need to analyze what PresenceAvailabilityHandler.java makes out
> of your RosterManager info.
> You could check for example what a call to
> RosterUtils.getRosterItemsByState(RosterManager rosterManager, Entity
> user) returns.
> It should not be empty lists.
>
>   Bernd
>

Reply via email to