Once you have configured the message service, you can perform all administrative tasks using the CtsComponents::MessageService CORBA API—see Chapter 31, “Using the Message Service,” in the EAServer Programmer’s Guide for more information. You can also use EAServer Manager to add and configure the message service parts:
Permanent destinations – add one message queue for each message recipient. To identify the subject of messages to which you want to subscribe, add message topics. You can also create message queues and topics using the CORBA API or the Java Message Service (JMS) createQueue and createTopic methods. Although these JMS methods are not portable, creating message queues and topics programmatically can significantly reduce the system administrator’s work.
Connection factories – queue connection factories enable JMS client applications to establish point-to-point (PTP) connections with the message service. Topic connection factories enable JMS client applications to establish publish/subscribe (Pub/Sub) connections with the message service.
Message selectors – to specify which messages you want to receive, add message selectors to message queues.
Message listeners – to provide asynchronous message notification for clients and components, implement a message listener, and install it on a message queue.
Access roles – to restrict access to a message queue or to grant one user access to another user’s queue, add access roles to the message queue. To restrict access to messages with particular topics, add access roles to the topic.
Thread pools – define thread pools to handle client and component notification.
Copyright © 2005. Sybase Inc. All rights reserved. |