org.apache.activemq.console.util
Class AmqMessagesUtil

java.lang.Object
  extended by org.apache.activemq.console.util.AmqMessagesUtil

public class AmqMessagesUtil
extends Object


Field Summary
static String JMS_MESSAGE_BODY_PREFIX
           
static String JMS_MESSAGE_CUSTOM_PREFIX
           
static String JMS_MESSAGE_HEADER_PREFIX
           
 
Constructor Summary
AmqMessagesUtil()
           
 
Method Summary
static QueryFilter createMessageQueryFilter(URI brokerUrl, javax.jms.Destination dest)
           
static List filterMessagesView(List messages, Set groupViews, Set attributeViews)
           
static List getAllMessages(URI brokerUrl, javax.jms.Destination dest)
           
static List getMessages(URI brokerUrl, javax.jms.Destination dest, List selectors)
           
static List getMessages(URI brokerUrl, javax.jms.Destination dest, String selector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JMS_MESSAGE_HEADER_PREFIX

public static final String JMS_MESSAGE_HEADER_PREFIX
See Also:
Constant Field Values

JMS_MESSAGE_CUSTOM_PREFIX

public static final String JMS_MESSAGE_CUSTOM_PREFIX
See Also:
Constant Field Values

JMS_MESSAGE_BODY_PREFIX

public static final String JMS_MESSAGE_BODY_PREFIX
See Also:
Constant Field Values
Constructor Detail

AmqMessagesUtil

public AmqMessagesUtil()
Method Detail

getAllMessages

public static List getAllMessages(URI brokerUrl,
                                  javax.jms.Destination dest)
                           throws Exception
Throws:
Exception

getMessages

public static List getMessages(URI brokerUrl,
                               javax.jms.Destination dest,
                               String selector)
                        throws Exception
Throws:
Exception

getMessages

public static List getMessages(URI brokerUrl,
                               javax.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

public static QueryFilter createMessageQueryFilter(URI brokerUrl,
                                                   javax.jms.Destination dest)


Copyright © 2011 Apache Software Foundation. All Rights Reserved.