@Override
	public Response checkMessagingConnectionForTheDm( String message ) {

		this.logger.fine( "Request: check the connection to the message queue. message=" + message );
		Response response;
		String lang = lang( this.manager );
		if( this.manager.debugMngr().pingMessageQueue( message ))
			response = handleError( Status.OK, new RestError( REST_DEBUG_AGENT_KO, name( "ECHO" ), value( message )), lang ).build();
		else
			response = handleError( Status.INTERNAL_SERVER_ERROR, new RestError( REST_MESSAGING_ERROR ), lang ).build();

		return response;
	}
@ Override public Response checkMessagingConnectionForTheDm ( String message ) { this . logger . fine ( "Request: check the connection to the message queue. message=" + message ) ; Response response ; String lang = lang ( this . manager ) ; if ( this . manager . debugMngr ( ) . pingMessageQueue ( message ) ) response = handleError ( Status . OK , new RestError ( REST_DEBUG_AGENT_KO , name ( "ECHO" ) , value ( message ) ) , lang ) . build ( ) ; else response = handleError ( Status . INTERNAL_SERVER_ERROR , new RestError ( REST_MESSAGING_ERROR ) , lang ) . build ( ) ; return response ; }
/*
(non-Javadoc)
@see net.roboconf.dm.rest.services.internal.resources.IDebugResource
#checkMessagingConnectionForTheDm(java.lang.String)