public SubscribersInfo getPushStatusForMessage ( String messageId ) throws IOException { String url = "queues/" + name + "/messages/" + messageId + "/subscribers" ; IronReader reader = client . get ( url ) ; SubscribersInfo subscribersInfo = gson . fromJson ( reader . reader , SubscribersInfo . class ) ; reader . close ( ) ; return subscribersInfo ; }
Get push info of message by message id . If there is no message an EmptyQueueException is thrown .