Tabnine Logo
ManagementHelper.getResults
Code IndexAdd Tabnine to your IDE (free)

How to use
getResults
method
in
org.apache.activemq.artemis.api.core.management.ManagementHelper

Best Java code snippets using org.apache.activemq.artemis.api.core.management.ManagementHelper.getResults (Showing top 12 results out of 315)

origin: wildfly/wildfly

/**
* Returns the result of an operation invocation or an attribute value.
* <br>
* If an error occurred on the server, {@link #hasOperationSucceeded(Message)} will return {@code false}.
* and the result will be a String corresponding to the server exception.
*/
public static Object[] getResults(final Message message) throws Exception {
 return ManagementHelper.getResults(JMSManagementHelper.getCoreMessage(message));
}
origin: wildfly/wildfly

/**
* Returns the result of an operation invocation or an attribute value.
* <br>
* If an error occurred on the server, {@link #hasOperationSucceeded(Message)} will return {@code false}.
* and the result will be a String corresponding to the server exception.
*/
public static Object getResult(final ICoreMessage message, Class desiredType) throws Exception {
 Object[] res = ManagementHelper.getResults(message);
 if (res != null) {
   return JsonUtil.convertJsonValue(res[0], desiredType);
 } else {
   return null;
 }
}
origin: apache/activemq-artemis

/**
* Returns the result of an operation invocation or an attribute value.
* <br>
* If an error occurred on the server, {@link #hasOperationSucceeded(Message)} will return {@code false}.
* and the result will be a String corresponding to the server exception.
*/
public static Object[] getResults(final Message message) throws Exception {
 return ManagementHelper.getResults(JMSManagementHelper.getCoreMessage(message));
}
origin: org.apache.activemq/artemis-jms-client-all

/**
* Returns the result of an operation invocation or an attribute value.
* <br>
* If an error occurred on the server, {@link #hasOperationSucceeded(Message)} will return {@code false}.
* and the result will be a String corresponding to the server exception.
*/
public static Object[] getResults(final Message message) throws Exception {
 return ManagementHelper.getResults(JMSManagementHelper.getCoreMessage(message));
}
origin: apache/activemq-artemis

/**
* Returns the result of an operation invocation or an attribute value.
* <br>
* If an error occurred on the server, {@link #hasOperationSucceeded(Message)} will return {@code false}.
* and the result will be a String corresponding to the server exception.
*/
public static Object[] getResults(final Message message) throws Exception {
 return ManagementHelper.getResults(JMSManagementHelper.getCoreMessage(message));
}
origin: org.jboss.eap/wildfly-client-all

/**
* Returns the result of an operation invocation or an attribute value.
* <br>
* If an error occurred on the server, {@link #hasOperationSucceeded(Message)} will return {@code false}.
* and the result will be a String corresponding to the server exception.
*/
public static Object[] getResults(final Message message) throws Exception {
 return ManagementHelper.getResults(JMSManagementHelper.getCoreMessage(message));
}
origin: apache/activemq-artemis

/**
* Returns the result of an operation invocation or an attribute value.
* <br>
* If an error occurred on the server, {@link #hasOperationSucceeded(Message)} will return {@code false}.
* and the result will be a String corresponding to the server exception.
*/
public static Object getResult(final ICoreMessage message, Class desiredType) throws Exception {
 Object[] res = ManagementHelper.getResults(message);
 if (res != null) {
   return JsonUtil.convertJsonValue(res[0], desiredType);
 } else {
   return null;
 }
}
origin: apache/activemq-artemis

/**
* Returns the result of an operation invocation or an attribute value.
* <br>
* If an error occurred on the server, {@link #hasOperationSucceeded(Message)} will return {@code false}.
* and the result will be a String corresponding to the server exception.
*/
public static Object getResult(final ICoreMessage message, Class desiredType) throws Exception {
 Object[] res = ManagementHelper.getResults(message);
 if (res != null) {
   return JsonUtil.convertJsonValue(res[0], desiredType);
 } else {
   return null;
 }
}
origin: apache/activemq-artemis

/**
* Returns the result of an operation invocation or an attribute value.
* <br>
* If an error occurred on the server, {@link #hasOperationSucceeded(Message)} will return {@code false}.
* and the result will be a String corresponding to the server exception.
*/
public static Object getResult(final ICoreMessage message, Class desiredType) throws Exception {
 Object[] res = ManagementHelper.getResults(message);
 if (res != null) {
   return JsonUtil.convertJsonValue(res[0], desiredType);
 } else {
   return null;
 }
}
origin: org.apache.activemq/artemis-core-client

/**
* Returns the result of an operation invocation or an attribute value.
* <br>
* If an error occurred on the server, {@link #hasOperationSucceeded(Message)} will return {@code false}.
* and the result will be a String corresponding to the server exception.
*/
public static Object getResult(final ICoreMessage message, Class desiredType) throws Exception {
 Object[] res = ManagementHelper.getResults(message);
 if (res != null) {
   return JsonUtil.convertJsonValue(res[0], desiredType);
 } else {
   return null;
 }
}
origin: org.jboss.eap/wildfly-client-all

/**
* Returns the result of an operation invocation or an attribute value.
* <br>
* If an error occurred on the server, {@link #hasOperationSucceeded(Message)} will return {@code false}.
* and the result will be a String corresponding to the server exception.
*/
public static Object getResult(final ICoreMessage message, Class desiredType) throws Exception {
 Object[] res = ManagementHelper.getResults(message);
 if (res != null) {
   return JsonUtil.convertJsonValue(res[0], desiredType);
 } else {
   return null;
 }
}
origin: org.apache.activemq/artemis-jms-client-all

/**
* Returns the result of an operation invocation or an attribute value.
* <br>
* If an error occurred on the server, {@link #hasOperationSucceeded(Message)} will return {@code false}.
* and the result will be a String corresponding to the server exception.
*/
public static Object getResult(final ICoreMessage message, Class desiredType) throws Exception {
 Object[] res = ManagementHelper.getResults(message);
 if (res != null) {
   return JsonUtil.convertJsonValue(res[0], desiredType);
 } else {
   return null;
 }
}
org.apache.activemq.artemis.api.core.managementManagementHelpergetResults

Javadoc

Returns the result of an operation invocation or an attribute value.
If an error occurred on the server, #hasOperationSucceeded(Message) will return false. and the result will be a String corresponding to the server exception.

Popular methods of ManagementHelper

  • getResult
    Returns the result of an operation invocation or an attribute value. If an error occurred on the ser
  • putOperationInvocation
    Stores an operation invocation in a message to invoke the corresponding operation the value from the
  • hasOperationSucceeded
    Returns whether the invocation of the management operation on the server resource succeeded.
  • putAttribute
    Stores a resource attribute in a message to retrieve the value from the server resource.
  • isOperationResult
    Returns whether the JMS message corresponds to the result of a management operation invocation.
  • isAttributesResult
    Returns whether the JMS message corresponds to the result of a management attribute value.
  • retrieveOperationParameters
    Used by ActiveMQ Artemis management service.
  • storeResult
    Used by ActiveMQ Artemis management service.

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Runner (org.openjdk.jmh.runner)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now