|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.api.jmx.mbeans.BaseAdmin
com.ibm.di.api.jmx.mbeans.SystemQueue
public class SystemQueue
| Field Summary | |
|---|---|
static String |
MBEAN_ID
|
static String |
MBEAN_TYPE
|
| Constructor Summary | |
|---|---|
SystemQueue(SystemQueue aLocalSystemQueue)
|
|
| Method Summary | |
|---|---|
byte[] |
getBytesMessage(String aQueueName,
int aTimeOut)
Retrieves a BytesMessage from the specified System Queue |
Entry |
getEntry(String aQueueName,
int aTimeOut)
Retrieves an Entry object from the specified System Queue |
String |
getId()
Reads attribute "Id". |
javax.jms.Message |
getMessage(String aQueueName,
int aTimeOut)
Retrieves a JMS Message from the specified System Queue |
String |
getTextMessage(String aQueueName,
int aTimeOut)
Retrieves a TextMessage from the specified System Queue |
String |
getType()
Reads attribute "Type". |
void |
putBytesMessage(String aQueueName,
byte[] aMessageBytes)
Stores a BytesMessage in the specified System Queue |
void |
putEntry(String aQueueName,
Entry aEntry)
Stores an Entry object to the specified System Queue |
void |
putMessage(String aQueueName,
javax.jms.Message aMessage)
Stores a Message to the specified System Queue |
void |
putTextMessage(String aQueueName,
String aMessageText)
Stores a TextMessage to the System Queue |
| Methods inherited from class com.ibm.di.api.jmx.mbeans.BaseAdmin |
|---|
getCurrentUserId, getKeyPropertyList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MBEAN_TYPE
public static final String MBEAN_ID
| Constructor Detail |
|---|
public SystemQueue(SystemQueue aLocalSystemQueue)
throws DIException
DIException| Method Detail |
|---|
public String getType()
BaseMBean
getType() and getId() are used in a common schema for
object names for all MBeans in the management package. The key properties part
of the object name of each MBean is defined as
"type=" + getType() + ",id=" + getId(), for example
"type=AssemblyLine,id=Hello".
getType in interface BaseMBeanpublic String getId()
BaseMBean
getType() and getId() are used in a common schema for
object names for all MBeans in the management package. The key properties part
of the object name of each MBean is defined as
"type=" + getType() + ",id=" + getId(), for example
"type=AssemblyLine,id=Hello".
getId in interface BaseMBean
public javax.jms.Message getMessage(String aQueueName,
int aTimeOut)
throws DIException
SystemQueueMBean
getMessage in interface SystemQueueMBeanaQueueName - - the name of the queue from which the message is
retrievedaTimeOut - - specifies the maximum time in seconds to wait for a new
message; if 0 is specified - if there is no message available this method
returns immediately; if a negative number is specified, this method will
wait indefinitely or until a message becomes available
DIException - if an error occurs during receiving
public void putMessage(String aQueueName,
javax.jms.Message aMessage)
throws DIException
SystemQueueMBean
putMessage in interface SystemQueueMBeanaQueueName - - the name of the queue to which the message is to be
storedaMessage - - the Message object to be stored
DIException - if an error occurs during storing
public String getTextMessage(String aQueueName,
int aTimeOut)
throws DIException
SystemQueueMBean
getTextMessage in interface SystemQueueMBeanaQueueName - - the name of the queue from which the message is
retrievedaTimeOut - - specifies the maximum time in seconds to wait for a new
message; if 0 is specified - if there is no message available this method
returns immediately; if a negative number is specified, this method will
wait indefinitely or until a message becomes available
DIException - if an error occurs during receiving
public void putTextMessage(String aQueueName,
String aMessageText)
throws DIException
SystemQueueMBean
putTextMessage in interface SystemQueueMBeanaQueueName - - the name of the queue to which the message is to be
storedaMessageText - - the text to be stored
DIException - if an error occurs during sending
public byte[] getBytesMessage(String aQueueName,
int aTimeOut)
throws DIException
SystemQueueMBean
getBytesMessage in interface SystemQueueMBeanaQueueName - - the name of the queue from which the message is
retrievedaTimeOut - - specifies the maximum time in seconds to wait for a new
message; if 0 is specified - if there is no message available this method
returns immediately; if a negative number is specified, this method will
wait indefinitely or until a message becomes available
DIException - if an error occurs during receiving
public void putBytesMessage(String aQueueName,
byte[] aMessageBytes)
throws DIException
SystemQueueMBean
putBytesMessage in interface SystemQueueMBeanaQueueName - - the name of the queue to which the message is to be
storedaMessageBytes - - the byte array to be stored
DIException - if an error occurs during sending
public Entry getEntry(String aQueueName,
int aTimeOut)
throws DIException
SystemQueueMBean
getEntry in interface SystemQueueMBeanaQueueName - - the name of the queue from which the message is
retrievedaTimeOut - - specifies the maximum time in seconds to wait for a new
message; if 0 is specified - if there is no message available this method
returns immediately; if a negative number is specified, this method will
wait indefinitely or until a message becomes available
DIException - if an error occurs during receiving, or if the
message retrieved is not an ObjectMessage or if the ObjectMessage
retrieved does not store a com.ibm.di.entry.Entry object
public void putEntry(String aQueueName,
Entry aEntry)
throws DIException
SystemQueueMBean
putEntry in interface SystemQueueMBeanaQueueName - - the name of the queue to which the Entry is to be
storedaEntry - - the Entry object to be stored
DIException - if an error occurs during sending
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||