|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@MXBean public interface MessagingEngineMBean
The MessagingEngineMBean is enabled by the wasJmsServer feature.
This MBean provides an interface to query the runtime information of
the messaging engine defined in the configuration.
JMX clients should use the ObjectName of this MBean to query it.
Partial Object Name: WebSphere:feature=wasJmsServer, type=MessagingEngine,name=*
where name is unique for each messaging engine and is equal to the name of the messaging engine defined in configuration.
Method Summary | |
---|---|
void |
commitPreparedTransaction(java.lang.String xid)
Commit the given transaction. |
void |
dump(java.lang.String dumpSpec)
Request the receiver to dump its xml representation.The dump file is created in the current server directory |
java.lang.String |
getName()
Returns the name of the current messaging engine. |
java.lang.String[] |
listPreparedTransactions()
Obtain a list of XIDs which are in-doubt. |
void |
resetDestination(java.lang.String name)
Resets a corrupt destination such that on restart, it is deleted and recreated. |
void |
rollbackPreparedTransaction(java.lang.String xid)
Rollback the given transaction. |
java.lang.String |
state()
Return the state of the Messaging Engine. |
Method Detail |
---|
java.lang.String getName()
java.lang.String state()
void resetDestination(java.lang.String name) throws java.lang.Exception
Name
- The name of the destination on the bus
java.lang.Exception
void dump(java.lang.String dumpSpec)
dumpSpec
- The dump specification string, eg. "com.ibm.ws.sib.msgstore.*:com.ibm..."java.lang.String[] listPreparedTransactions()
void commitPreparedTransaction(java.lang.String xid) throws java.lang.Exception
xid
- a string representing the xid of the transaction to be committed.
java.lang.Exception
void rollbackPreparedTransaction(java.lang.String xid) throws java.lang.Exception
xid
- a string representing the xid of the transaction to be rolled back.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |