AnsweredAssumed Answered

Fallback stanza listener

Question asked by A. Bika on Nov 19, 2015
Latest reply on Dec 4, 2015 by Flow

Is there an easy way to identify incoming packages that are not handled by another stanza listener? Im currently doing this:

 

connection.addAsyncStanzaListener(fallbackListener,

                new NotFilter(

                        new OrFilter(

                              <all my listeners

                                  ...

                                  ...>

                        )

                )

        );

 

But it obviously doesn't work well when constantly adding/removing listeners. I just want to know if there are incoming packages which are unexpected and not handled in any way.

Outcomes