|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
com.stc.eways.MQSeriesETD.MQSeriesETD
| Constructor Summary | |
MQSeriesETD()
Defalt c'tor - create a new instance initializing everything to default values. |
|
| Method Summary | |
void |
accessQueue(java.lang.String queueName)
Called to access a queue on the current queue manager. |
void |
backout()
Call this to tell the current queue manager that all gets and puts since the last syncpoint are to be backed out. |
void |
commit()
Call this to tell the current queue manager that your collaboration has reached a syncpoint and that all gets and puts that have occurred since the last syncpoint are to be made permanent. |
void |
connectToQueueManager(java.lang.String sQueueMgrName,
java.lang.String sHost,
int nPort,
java.lang.String sChannel,
java.lang.String sUserID,
java.lang.String sPwd)
Creates a Connection to a queue manager. |
void |
get()
Call the get method on the current queue to get a message. |
int |
getCharacterSet()
Returns the CCSID (coded character set ID) of the current queue managers codeset. |
int |
getCurrentDepth()
Get the number of messages currently on the current queue. |
GMO |
getGMO()
This method is generated by the collaboration editor and is used to gain access to the GMO object which is essentially a thin wrapper around the MQGetMessageOptions. |
int |
getMaximumDepth()
Get the maximum number of messages that can exist on the current queue. |
int |
getMaximumMessageLength()
Get the maximum length of data that can exist in any one message on the current queue. |
int |
getMaximumPriority()
Returns the maximum message priority supported by the current queue manager. |
Message |
getMessage()
The collab editor generates this method and is used to access the current message. |
PMO |
getPMO()
This method is generated by the collaboration editor and is used to gain access to the PMO object which is essentially a thin wrapper around the MQPutMessageOptions. |
QueueAccessOptions |
getqueueAccessOptions()
The collaboration editor generates this call when the user needs to access the queue access options. |
void |
getWithOptions()
Call the get method on the current queue to get a message using the specified options. |
boolean |
isQueueMgrConnected()
Determines if the current queue manager is still connected. |
void |
newMessage()
This method allows the user to destroy then recreate the Message object. |
void |
put()
Put the message on the current queue using the default put options. |
void |
putWithOptions()
Put the message on the current queue using the specified options. |
void |
selectQueue(java.lang.String queueName)
This method allows the user to select one of the previously accessed queues and make it the current queue. |
void |
selectQueueManager(java.lang.String queueMgrName)
Selects one of the queue managers you have previously connected to. |
| Constructor Detail |
public MQSeriesETD()
| Method Detail |
public void accessQueue(java.lang.String queueName)
throws com.stc.common.collabService.CollabConnException
queueName - Then name of the queue to access on the current
queue manager.void - None.CollabConnException - - Thrown when there is an external connection problem.
public void backout()
throws com.stc.common.collabService.CollabConnException
void - None.CollabConnException - - Thrown when there is an external connection problem.
public void commit()
throws com.stc.common.collabService.CollabConnException
void - None.CollabConnException - - Thrown when there is an external connection problem.
public void connectToQueueManager(java.lang.String sQueueMgrName,
java.lang.String sHost,
int nPort,
java.lang.String sChannel,
java.lang.String sUserID,
java.lang.String sPwd)
throws com.stc.common.collabService.CollabConnException
At ETD initialization time, the queue manager specified in the configuration will be automatically connected to (and be set as the current queue manager). This may be the one and only queue manager needed in the collaboration. You can use this if you need to connect to another queue manager. Important: this should only be called in Non-Transactional mode. If you are in XA compliant mode, there must be exactly one queue manager connection and that will be the one specified in the configuration. An attempt to connect to another queue manager in XA mode will cause an exception to be thrown.
sQueueMgrName - The queue manager name - required.sHost - The host on which the queue manager resides - required.nPort - The port the host system queue manager is listening on - required.sChannel - The channel to use - required.sUserID - Your user ID - if no ID is needed, use "".sPwd - Your password - if no password is needed, use "".void - None.CollabConnException - - Thrown when there is an external connection problem.
public void get()
throws com.stc.common.collabService.CollabConnException
void - None.CollabConnException - - Thrown when there is an external connection problem.
public int getCharacterSet()
throws com.stc.common.collabService.CollabConnException
int - An integer specifying the CCSID.CollabConnException - - Thrown when there is an external connection problem.
public int getCurrentDepth()
throws com.stc.common.collabService.CollabConnException
int - The number of messages.CollabConnException - - Thrown when there is an external connection problem.public GMO getGMO()
GMO - The options object.
public int getMaximumDepth()
throws com.stc.common.collabService.CollabConnException
int - The number of messages.CollabConnException - - Thrown when there is an external connection problem.
public int getMaximumMessageLength()
throws com.stc.common.collabService.CollabConnException
int - The number of messages.CollabConnException - - Thrown when there is an external connection problem.
public int getMaximumPriority()
throws com.stc.common.collabService.CollabConnException
int - An integer specifying the maximum priority.CollabConnException - - Thrown when there is an external connection problem.public Message getMessage()
Message - The Message object.
public PMO getPMO()
PMO - The options object.
public QueueAccessOptions getqueueAccessOptions()
public void getWithOptions()
throws com.stc.common.collabService.CollabConnException
void - None.CollabConnException - - Thrown when there is an external connection problem.
public boolean isQueueMgrConnected()
throws com.stc.jcsre.EBobConnectionException
Boolean - True if still connected, otherwise false.EBobConnectionException - public void newMessage()
void - None.
public void put()
throws com.stc.common.collabService.CollabConnException
void - None.CollabConnException - - Thrown when there is an external connection problem.
public void putWithOptions()
throws com.stc.common.collabService.CollabConnException
void - None.CollabConnException - - Thrown when there is an external connection problem.
public void selectQueue(java.lang.String queueName)
throws com.stc.common.collabService.CollabConnException
queueName - The name of the queue to select.void - None.CollabConnException - - Thrown when there is an external connection problem.
public void selectQueueManager(java.lang.String queueMgrName)
throws com.stc.common.collabService.CollabConnException
queueMgrName - The name of the queue manager to select.void - None.CollabConnException - - Thrown when there is an external connection problem.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Copyright 2003 by SeeBeyond Technology Corporation. All Rights Reserved.