com.latencybusters.lbm
Class UMQQueueMessageStatus

java.lang.Object
  extended by com.latencybusters.lbm.UMQQueueMessageStatus

public class UMQQueueMessageStatus
extends java.lang.Object

Class containing the current status of a UMQ message as reported by the queue daemon.


Constructor Summary
UMQQueueMessageStatus()
           
 
Method Summary
 int flags()
          Get informational flags associated with the message in the queue; currently always returns 0.
 LBMMessage message()
          Gets the actual message data in the form of a normal LBMMessage object, if available.
 UMQMessageId queueMessageId()
          Gets the UMQ message ID of the message.
 int status()
          Get the status of the message within the queue, or LBM#UMQ_QUEUE_MSG_STATUS_UNKNOWN if the status is unavailable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMQQueueMessageStatus

public UMQQueueMessageStatus()
Method Detail

queueMessageId

public UMQMessageId queueMessageId()
Gets the UMQ message ID of the message.

Returns:
the UMQ message ID.

message

public LBMMessage message()
Gets the actual message data in the form of a normal LBMMessage object, if available. If not available, this will return null.

Returns:
the LBMMessage object, if available; null otherwise.

status

public int status()
Get the status of the message within the queue, or LBM#UMQ_QUEUE_MSG_STATUS_UNKNOWN if the status is unavailable.

Returns:
the message status.
See Also:
LBM.UMQ_QUEUE_MSG_STATUS_UNKNOWN, LBM.UMQ_QUEUE_MSG_STATUS_UNASSIGNED, LBM.UMQ_QUEUE_MSG_STATUS_ASSIGNED, LBM.UMQ_QUEUE_MSG_STATUS_REASSIGNING, LBM.UMQ_QUEUE_MSG_STATUS_CONSUMED

flags

public int flags()
Get informational flags associated with the message in the queue; currently always returns 0.

Returns:
the informational flags.


All of the documentation and software included in this and any other Informatica Inc "Ultra Messaging" Release is Copyright (C) 2004-2014, Informatica Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted only as covered by the terms of a valid software license agreement with 29West Inc. Copyright © 2004-2014, Informatica, Inc. All Rights Reserved.