Package org.apache.camel.component.jms
Class DefaultQueueBrowseStrategy
java.lang.Object
org.apache.camel.component.jms.DefaultQueueBrowseStrategy
- All Implemented Interfaces:
QueueBrowseStrategy
A default implementation of queue browsing using the Spring
BrowserCallback-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.camel.Exchange> browse(org.springframework.jms.core.JmsOperations template, String queue, JmsBrowsableEndpoint endpoint, int limit) Browse the given queueorg.apache.camel.spi.BrowsableEndpoint.BrowseStatusbrowseStatus(org.springframework.jms.core.JmsOperations template, String queue, JmsBrowsableEndpoint endpoint, int limit) Browse quick status of the given queue
-
Constructor Details
-
DefaultQueueBrowseStrategy
public DefaultQueueBrowseStrategy()
-
-
Method Details
-
browse
public List<org.apache.camel.Exchange> browse(org.springframework.jms.core.JmsOperations template, String queue, JmsBrowsableEndpoint endpoint, int limit) Description copied from interface:QueueBrowseStrategyBrowse the given queue- Specified by:
browsein interfaceQueueBrowseStrategy
-
browseStatus
public org.apache.camel.spi.BrowsableEndpoint.BrowseStatus browseStatus(org.springframework.jms.core.JmsOperations template, String queue, JmsBrowsableEndpoint endpoint, int limit) Description copied from interface:QueueBrowseStrategyBrowse quick status of the given queue- Specified by:
browseStatusin interfaceQueueBrowseStrategy
-