Skip to content

Instantly share code, notes, and snippets.

@soapplied
Last active December 19, 2015 01:38
Show Gist options
  • Save soapplied/5876974 to your computer and use it in GitHub Desktop.
Save soapplied/5876974 to your computer and use it in GitHub Desktop.
Get all SIBQueuePoints
for (Iterator i = sibMesSet.iterator(); i.hasNext();) {
final ObjectName meObj = (ObjectName) i.next();
final String meName = meObj.getKeyProperty("name");
final ObjectName queuePoints = new ObjectName(
"WebSphere:type=SIBQueuePoint,SIBMessagingEngine="
+ meName + ",*");
final Set queueNameSet = server.queryNames(queuePoints,null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment