|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for managing JMS destinations.
The JMQDestinationAdmin
object is obtained from the
JMQConnection
object.
JMQConnection.getDestinationAdmin()
Field Summary | |
static String |
ACL_NAME
ACL name protecting the destination. |
static String |
DURABLE_CONSUMERS_ALLOWED
Does the destination allow durable subscribers. |
static String |
MAX_CONSUMER_NUM
Maximum number of consumers that can be concurrently connected to this destination. |
static String |
MAX_MSG_SIZE
Maximum size (in bytes) of the Message that can be produced to this destination. |
static String |
MAX_UNCONSUMED_MSGBYTES
Maximum unconsumed message bytes. |
static String |
MAX_UNCONSUMED_MSGNUM
Maximum number of unconsumed messages. |
static String |
MESSAGE_EXPIRATION
This property sets the expiration value for all messages that pass through this destination. |
static String |
RECEIVE_ENABLED
This property determines whether or not messages will be delivered from a particular destination. |
static String |
SEND_ENABLED
This property determines whether or not messages can be sent to a particular destination. |
Method Summary | |
JMQDestination |
createDestination(String name,
int type,
Properties props)
Create a destination (queue or topic) with a given name and properties. |
void |
deleteDestination(String name,
int type)
Delete a destination (queue or topic) with a given name |
Properties |
getDestinationProperties(String name,
int type)
Get destination (queue or topic) properties |
String[] |
getDestinations(int type)
Return all destinations (queues or topics) |
JMQSubscriberInfo[] |
getDurableSubscribers(String topicName)
Return all durable subscribers on a topic |
void |
setDestinationProperties(String name,
int type,
Properties props)
Set destination (queue or topic) properties |
Field Detail |
public static final String ACL_NAME
public static final String MAX_MSG_SIZE
Integer.MAX_VALUE
.
public static final String MAX_CONSUMER_NUM
Integer.MAX_VALUE
.
public static final String DURABLE_CONSUMERS_ALLOWED
public static final String MAX_UNCONSUMED_MSGNUM
Integer.MAX_VALUE
.
public static final String MAX_UNCONSUMED_MSGBYTES
Integer.MAX_VALUE
.
public static final String SEND_ENABLED
public static final String RECEIVE_ENABLED
public static final String MESSAGE_EXPIRATION
Method Detail |
public JMQDestination createDestination(String name, int type, Properties props) throws RemoteException, JMSException
name
- name of the destinationtype
- type of the destination (JMQDestination.QUEUE
or JMQDestination.TOPIC
)props
- destination properties
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodJMQDestination
public void deleteDestination(String name, int type) throws RemoteException, JMSException
name
- name of the destinationtype
- type of the destination (JMQDestination.QUEUE
or JMQDestination.TOPIC
)
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodJMQDestination
public Properties getDestinationProperties(String name, int type) throws RemoteException, JMSException
name
- name of the destinationtype
- type of the destination (JMQDestination.QUEUE
or JMQDestination.TOPIC
)
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodJMQDestination
public void setDestinationProperties(String name, int type, Properties props) throws RemoteException, JMSException
name
- name of the destinationtype
- type of the destination (JMQDestination.QUEUE
or JMQDestination.TOPIC
)props
- destination properties
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodJMQDestination
public String[] getDestinations(int type) throws RemoteException, JMSException
type
- type of the destination (JMQDestination.QUEUE
or JMQDestination.TOPIC
)
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this methodJMQDestination
public JMQSubscriberInfo[] getDurableSubscribers(String topicName) throws RemoteException, JMSException
topicName
- the topic for which to retrieve durable subscribers
JMQSubscriberInfo
data structures,
which contain subscriber name and connection client identifier
RemoteException
- the remote invocation of this method failed
JMSException
- the JMS provider could not execute this method
|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |