@Override
	public void onMessage(Context context, Intent intent) {
		try {
			if(notificationCallback != null) {
				
				if(logger != null && logger.isDebugEnabled()) {
					logger.debug("SocializeC2DMReceiver received message");
				}

				Bundle extras = intent.getExtras();

				if(extras != null) {
					notificationCallback.onMessage(context, extras);
				}
				else {
					logWarn("No extras bundle found in notification intent.  Notification cannot be processed");
				}
			}
			else {
				logWarn("No notificationCallback found in GCM receiver.  Initialization may have failed.");
			}
		} 
		catch (Exception e) {
			logError("Error processing GCM message", e);
		}
	}
@Override
	public void onMessage(Context context, Intent intent) {
		try {
			if(notificationCallback != null) {
				
				if(logger != null && logger.isDebugEnabled()) {
					logger.debug("SocializeC2DMReceiver received message");
				}

				Bundle extras = intent.getExtras();

				if(extras != null) {
					notificationCallback.onMessage(context, extras);
				}
				else {
					logWarn("No extras bundle found in notification intent.  Notification cannot be processed");
				}
			}
			else {
				logWarn("No notificationCallback found in GCM receiver.  Initialization may have failed.");
			}
		} 
		catch (Exception e) {
			logError("Error processing GCM message", e);
		}
	}
@ Override public void onMessage ( Context context , Intent intent ) { try { if ( notificationCallback != null ) { if ( logger != null && logger . isDebugEnabled ( ) ) { logger . debug ( "SocializeC2DMReceiver received message" ) ; } Bundle extras = intent . getExtras ( ) ; if ( extras != null ) { notificationCallback . onMessage ( context , extras ) ; } else { logWarn ( "No extras bundle found in notification intent.  Notification cannot be processed" ) ; } } else { logWarn ( "No notificationCallback found in GCM receiver.  Initialization may have failed." ) ; } } catch ( Exception e ) { logError ( "Error processing GCM message" , e ) ; } }
/* (non-Javadoc)
@see com.socialize.notifications.C2DMReceiverHandler#onMessage(android.content.Context, android.content.Intent)
/ * ( non - Javadoc )