Here is the situation:

***What to DO:***
I have two Broadcast receivers for GCM Messages, and both of them have the same permissions and are listening for REGISTRATION and RECEIVE actions.
Now one of the Broadcast receiver is listening to my own Server and another Broadcast Receiver is supposed to be listening to gcm messages from a third party server.

***The Problem***
Since both of them are listening to gcm messages, whenever a push notification comes in , both the receivers are invoked. How to configure the receivers so that one of them only listens to my Server and another one only listens to a third party server