powered by Jive Software

MamManager pageBefore with stanzaId

I just was trying to retrieve messages before an special message .
Its now working with below code ( 4156 is message ID ) :

MamManager.MamQueryResult r = manager.pageBefore(JidCreate.bareFrom(username) , "4156" , 40);

I’m looking for a way to retrieve message with STANZAID instead of MessageUID but its not working :

MamManager.MamQueryResult r = manager.pageBefore(JidCreate.bareFrom(username) , STANZAID , 40);

is there a possible way to do that ?