public class MessageHolder extends Object
Constructor and Description |
---|
MessageHolder(NevadoSession session) |
Modifier and Type | Method and Description |
---|---|
void |
acknowledgeConsumedMessages() |
void |
add(javax.jms.Destination destination,
NevadoMessage msg) |
void |
close() |
List<NevadoMessage> |
getConsumedMessages() |
NevadoMessage |
getNextMessage(javax.jms.Destination destination) |
void |
reset() |
public MessageHolder(NevadoSession session)
public void add(javax.jms.Destination destination, NevadoMessage msg)
public NevadoMessage getNextMessage(javax.jms.Destination destination)
public void acknowledgeConsumedMessages() throws javax.jms.JMSException
javax.jms.JMSException
public void close() throws javax.jms.JMSException
javax.jms.JMSException
public List<NevadoMessage> getConsumedMessages()
public void reset()
Copyright © 2014. All Rights Reserved.