Package org.apache.activemq.console.util
Class AmqMessagesUtil
java.lang.Object
org.apache.activemq.console.util.AmqMessagesUtil
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryFiltercreateMessageQueryFilter(jakarta.jms.ConnectionFactory connectionFactory, jakarta.jms.Destination dest) static QueryFiltercreateMessageQueryFilter(URI brokerUrl, jakarta.jms.Destination dest) static ListfilterMessagesView(List messages, Set groupViews, Set attributeViews) static ListgetAllMessages(URI brokerUrl, jakarta.jms.Destination dest) static ListgetMessages(jakarta.jms.ConnectionFactory connectionFactory, jakarta.jms.Destination dest, String selector) static ListgetMessages(jakarta.jms.ConnectionFactory connectionFactory, jakarta.jms.Destination dest, List selectors) static ListgetMessages(URI brokerUrl, jakarta.jms.Destination dest, String selector) static ListgetMessages(URI brokerUrl, jakarta.jms.Destination dest, List selectors)
-
Field Details
-
JMS_MESSAGE_HEADER_PREFIX
- See Also:
-
JMS_MESSAGE_CUSTOM_PREFIX
- See Also:
-
JMS_MESSAGE_BODY_PREFIX
- See Also:
-
-
Method Details
-
getAllMessages
- Throws:
Exception
-
getMessages
public static List getMessages(URI brokerUrl, jakarta.jms.Destination dest, String selector) throws Exception - Throws:
Exception
-
getMessages
public static List getMessages(jakarta.jms.ConnectionFactory connectionFactory, jakarta.jms.Destination dest, String selector) throws Exception - Throws:
Exception
-
getMessages
public static List getMessages(URI brokerUrl, jakarta.jms.Destination dest, List selectors) throws Exception - Throws:
Exception
-
getMessages
public static List getMessages(jakarta.jms.ConnectionFactory connectionFactory, jakarta.jms.Destination dest, List selectors) throws Exception - Throws:
Exception
-
filterMessagesView
public static List filterMessagesView(List messages, Set groupViews, Set attributeViews) throws Exception - Throws:
Exception
-
createMessageQueryFilter
-
createMessageQueryFilter
public static QueryFilter createMessageQueryFilter(jakarta.jms.ConnectionFactory connectionFactory, jakarta.jms.Destination dest)
-