@Override
public List<MessageReference> getInTXMessagesForConsumer(long consumerId)
{
if (this.tx != null)
{
RefsOperation oper = (RefsOperation)tx.getProperty(TransactionPropertyIndexes.REFS_OPERATION);
if (oper == null)
{
return Collections.emptyList();
}
else
{
return oper.getListOnConsumer(consumerId);
}
}
else
{
return Collections.emptyList();