|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MqResource
The MqResource
interface represents a message to be read and/or written to an MQ Series message queue.
Method Summary | |
---|---|
int |
read()
Reads a message from the MQSeries queue identified by the MQ resource and populates mapped form fields. |
void |
write()
Constructs a message from mapped form field values and writes the message to the MQSeries queue identified by the MQ resource. |
int |
write(boolean wait)
Constructs a message from mapped form field values and writes the message to the MQSeries queue identified by the MQ resource. |
Methods inherited from interface com.ebasetech.xi.api.Resource |
---|
isDebug, setDebug |
Methods inherited from interface com.ebasetech.xi.api.Element |
---|
getElementName, getElementType |
Method Detail |
---|
int read() throws com.ebasetech.xi.exceptions.FormRuntimeException
com.ebasetech.xi.exceptions.FormRuntimeException
- if any error occurs during executionvoid write() throws com.ebasetech.xi.exceptions.FormRuntimeException
com.ebasetech.xi.exceptions.FormRuntimeException
- if any error occurs during executionwrite(boolean)
int write(boolean wait) throws com.ebasetech.xi.exceptions.FormRuntimeException
If parameter wait
is true, waits for a reply to arrive on the reply queue message specified in
the MQ resource and then issues a read command to this queue.
wait
-
com.ebasetech.xi.exceptions.FormRuntimeException
- if any error occurs during executionwrite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |