Method Summary |
|
public DeliveryChannelImpl | activateChannel(String componentId, ClassLoader classLoader) Create a new delivery channel. |
void | addChannel(DeliveryChannelImpl channel) Adds a channel to the NMS routing table. |
public synchronized void | addObserver(DeliveryChannel channel) |
public void | addXAResource(XAResource resource) |
void | addressExchange(MessageExchangeProxy exchange, DeliveryChannelImpl channel) |
public synchronized boolean | areStatisticsEnabled() |
public synchronized void | disableStatistics() |
void | doExchange(DeliveryChannelImpl channel, MessageExchangeProxy exchange) Perform the exchange operation. |
boolean | doSynchExchange(DeliveryChannelImpl channel, MessageExchangeProxy exchange, long timeout) Perform the exchange operation. |
public void | dumpState() Dump the state of the MessageService to the log. |
public synchronized void | enableStatistics() |
String | generateNextId() |
public int | getActiveChannelCount() Returns the total number of DeliveryChannels that have been activated
in the NMR. |
public String[] | getActiveChannels() Returns the identifiers of all the active channels. |
public String[] | getActiveConsumingEndpoints() Returns a list of active consuming endpoints in the NMR. |
public String[] | getActiveConsumingEndpoints(String ownerId) Identical to getActiveEndpoints(), but list is limited to endpoints
registered by the specified component. |
public int | getActiveEndpointCount() Returns a list of component IDs corresponding to active channels in the NMR. |
public String[] | getActiveEndpoints() Returns a list of active endpoints in the NMR. |
public String[] | getActiveEndpoints(String ownerId) Identical to getActiveEndpoints(), but list is limited to endpoints
registered by the specified component. |
DeliveryChannelImpl | getChannel(String channelId) Retrieves a channel based on it's ID from the NMS routing table. |
public String[] | getChannelNames() |
public ChannelStatistics | getChannelStatistics(String name) |
public ConnectionManager | getConnectionManager() Get a reference to the NMR ConnectionManager. |
public String[] | getConsumingEndpointNames() |
public String | getDescriptor(String service, String endpoint) Provides metadata query facility for endpoints registered with the NMR. |
public String[] | getEndpointNames() |
public EndpointStatistics | getEndpointStatistics(String name) |
public CompositeData | getStatistics() |
javax.transaction.TransactionManager | getTransactionManager() |
public javax.transaction.xa.XAResource[] | getXAResources() |
public void | initService(EnvironmentContext ctx) Init our environment. |
boolean | isExchangeOkay(MessageExchange me) |
RegisteredEndpoint | matchConsumerAndProvider(String consumerId, RegisteredEndpoint[] endpoints, MessageExchangeProxy exchange) Make sure that consumer and provider are cool with exchange. |
public void | purgeXAResources() |
Document | queryDescriptor(ServiceEndpoint ref) Facilitates intercomponent meta data queries. |
void | removeChannel(String channelId) Removes a channel from the NMS routing table. |
public synchronized void | removeObserver(DeliveryChannel channel) |
DynamicEndpoint | resolveEndpointReference(org.w3c.dom.DocumentFragment reference) |
void | setComponentManager(ComponentManager compMgr) Convenience method used in unit tests. |
void | setEndpointListener(EndpointListener listener) |
void | setExchangeIdGenerator(ExchangeIdGenerator generator) |
void | setTimeoutListener(DeliveryChannel dc, TimeoutListener timeout) |
void | setTransactionManager(javax.transaction.TransactionManager tm) Set the TransactionManager. |
public void | startService() Start the NMS. |
boolean | statisticsEnabled() |
public void | stopService() Stop the NMS. |
public String | toString() |
void | updateStatistics(MessageExchangeProxy mep) |
public synchronized void | zeroStatistics() |