Using Smack as a white label solution

Hi All,

I am creating a white label solution using Smack in Android.

The solution will be a library/sdk pluggable into your Android application.

However one issue is that once we register a MessageListener with the connection object, then all the messages will be listened to by all the listeners registered as part of the library.

Is there a way to solve this scenario.

Thanks
Vaibhav