|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SystemQueueMBean
System Queue MBean interface that defines public methods exposed through JMX layer.
Method Summary | |
---|---|
byte[] |
getBytesMessage(java.lang.String aQueueName,
int aTimeOut)
Retrieves a BytesMessage from the specified System Queue |
Entry |
getEntry(java.lang.String aQueueName,
int aTimeOut)
Retrieves an Entry object from the specified System Queue |
javax.jms.Message |
getMessage(java.lang.String aQueueName,
int aTimeOut)
Retrieves a JMS Message from the specified System Queue |
java.lang.String |
getTextMessage(java.lang.String aQueueName,
int aTimeOut)
Retrieves a TextMessage from the specified System Queue |
void |
putBytesMessage(java.lang.String aQueueName,
byte[] aMessageBytes)
Stores a BytesMessage in the specified System Queue |
void |
putEntry(java.lang.String aQueueName,
Entry aEntry)
Stores an Entry object to the specified System Queue |
void |
putMessage(java.lang.String aQueueName,
javax.jms.Message aMessage)
Stores a Message to the specified System Queue |
void |
putTextMessage(java.lang.String aQueueName,
java.lang.String aMessageText)
Stores a TextMessage to the System Queue |
Methods inherited from interface com.ibm.di.api.jmx.mbeans.BaseMBean |
---|
getId, getType |
Method Detail |
---|
javax.jms.Message getMessage(java.lang.String aQueueName, int aTimeOut) throws DIException
aQueueName
- -
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 receivingvoid putMessage(java.lang.String aQueueName, javax.jms.Message aMessage) throws DIException
aQueueName
- -
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 storingjava.lang.String getTextMessage(java.lang.String aQueueName, int aTimeOut) throws DIException
aQueueName
- -
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 receivingvoid putTextMessage(java.lang.String aQueueName, java.lang.String aMessageText) throws DIException
aQueueName
- -
the name of the queue to which the message is to be storedaMessageText
- -
the text to be stored
DIException
- if an error occurs during sendingbyte[] getBytesMessage(java.lang.String aQueueName, int aTimeOut) throws DIException
aQueueName
- -
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 receivingvoid putBytesMessage(java.lang.String aQueueName, byte[] aMessageBytes) throws DIException
aQueueName
- -
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 sendingEntry getEntry(java.lang.String aQueueName, int aTimeOut) throws DIException
aQueueName
- -
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 objectvoid putEntry(java.lang.String aQueueName, Entry aEntry) throws DIException
aQueueName
- -
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 |