flex.management.runtime.messaging.services.messaging.adapters
Interface JMSAdapterControlMBean

All Superinterfaces:
BaseControlMBean, ServiceAdapterControlMBean

public interface JMSAdapterControlMBean
extends ServiceAdapterControlMBean

Defines the runtime monitoring and management interface for managed JMS adapters.


Method Summary
 Integer getQueueConsumerCount()
          Returns the number of queue consumers for the adapter.
 String[] getQueueConsumerIds()
          Returns the ids of all queue consumers.
 Integer getQueueProducerCount()
          Returns the number of queue producers for the adapter.
 Integer getTopicConsumerCount()
          Returns the number of topic consumers for the adapter.
 String[] getTopicConsumerIds()
          Returns the ids of all topic consumers.
 Integer getTopicProducerCount()
          Returns the number of topic producers for the adapter.
 void removeConsumer(String consumerId)
          Unsubscribes the consumer (for either a topic or queue).
 
Methods inherited from interface flex.management.BaseControlMBean
getId, getParent, getType
 

Method Detail

getTopicProducerCount

public Integer getTopicProducerCount()
                              throws IOException
Returns the number of topic producers for the adapter.

Returns:
The number of topic producers for the adapter.
Throws:
IOException

getTopicConsumerCount

public Integer getTopicConsumerCount()
                              throws IOException
Returns the number of topic consumers for the adapter.

Returns:
The number of topic consumers for the adapter.
Throws:
IOException

getTopicConsumerIds

public String[] getTopicConsumerIds()
                             throws IOException
Returns the ids of all topic consumers.

Returns:
The ids of all topic consumers.
Throws:
IOException

getQueueProducerCount

public Integer getQueueProducerCount()
                              throws IOException
Returns the number of queue producers for the adapter.

Returns:
The number of queue producers for the adapter.
Throws:
IOException

getQueueConsumerCount

public Integer getQueueConsumerCount()
                              throws IOException
Returns the number of queue consumers for the adapter.

Returns:
The number of queue consumers for the adapter.
Throws:
IOException

getQueueConsumerIds

public String[] getQueueConsumerIds()
                             throws IOException
Returns the ids of all queue consumers.

Returns:
The ids of all queue consumers.
Throws:
IOException

removeConsumer

public void removeConsumer(String consumerId)
                    throws IOException
Unsubscribes the consumer (for either a topic or queue).

Parameters:
consumerId - The id of the consumer to unsubscribe.
Throws:
IOException


Copyright © 2006 Adobe Systems Inc. All Rights Reserved. (Updated August 2, 2006)

Take a survey