Package org.frankframework.jms
Class JmsQueueBrowserIterator
java.lang.Object
org.frankframework.jms.JmsQueueBrowserIterator
- All Implemented Interfaces:
AutoCloseable
,IMessageBrowsingIterator
Helper class for browsing queues.
- Since:
- 4.3
- Author:
- Gerrit van Brakel
-
Constructor Details
-
JmsQueueBrowserIterator
public JmsQueueBrowserIterator(JMSFacade facade, jakarta.jms.Queue destination, String selector) throws jakarta.jms.JMSException, JmsException - Throws:
jakarta.jms.JMSException
JmsException
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIMessageBrowsingIterator
-
next
- Specified by:
next
in interfaceIMessageBrowsingIterator
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceIMessageBrowsingIterator
- Throws:
ListenerException
-