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.runtime.messaging.services.ServiceAdapterControlMBean
getStartTimestamp, isRunning
 
Methods inherited from interface flex.management.BaseControlMBean
getId, getParent, getType
 

Method Detail

getTopicProducerCount

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

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

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

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

getQueueProducerCount

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

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

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

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

removeConsumer

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 © 2007 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/management/runtime/messaging/services/messaging/adapters/JMSAdapterControlMBean.html