ActiveMQClient (producer 1.0.1-3.2.0 API)
Date: 2014-06-18

org.gcube.messaging.common.producer

## Class ActiveMQClient

- java.lang.Object
- - org.gcube.messaging.common.producer.ActiveMQClient

- All Implemented Interfaces:
    Runnable

      public class ActiveMQClient
      extends Object
      implements Runnable

  JMS Client that sends message to ActiveMQ Broker
  Author:
    Andrea Manzi( CERN)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ActiveMQClient` | `getSingleton()`
    `void` | `run()`
    `void` | `sendMessageToQueue(org.gcube.messaging.common.messages.GCUBEMessage message)` Sends message to a a QUEUE destination
    `void` | `setSingleton(ActiveMQClient singleton)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### sendMessageToQueue

          public void sendMessageToQueue(org.gcube.messaging.common.messages.GCUBEMessage message)

      Sends message to a a QUEUE destination
      Parameters:
        `message` - the GCUBEMessage to send

    - #### getSingleton

          public static ActiveMQClient getSingleton()

    - #### setSingleton

          public void setSingleton(ActiveMQClient singleton)

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`

Copyright © 2014. All Rights Reserved.