Skip to content

Instantly share code, notes, and snippets.

@soapplied
Last active December 19, 2015 01:38
Show Gist options
  • Save soapplied/5877069 to your computer and use it in GitHub Desktop.
Save soapplied/5877069 to your computer and use it in GitHub Desktop.
Print SIBQueuedMessage attributes
for (int i = 0; i < msgs.length; i++) {
SIBQueuedMessage msg = (SIBQueuedMessage) msgs[i];
System.out.println("id:" + msg.getId() + ", name:"
+ msg.getName() + ", state:" + msg.getState()
+ ", transactionID:" + msg.getTransactionId()
+ ", type:" + msg.getType());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment