/** * Moves the messages matching the given selector up to the maximum number * of matched messages */ public int moveMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest, int maximumMessages) throws Exception { return moveMatchingMessagesTo(context, createSelectorFilter(selector), dest, maximumMessages); }
/** * Removes the messages matching the given selector up to the maximum number * of matched messages * * @return the number of messages removed */ public int removeMatchingMessages(String selector, int maximumMessages) throws Exception { return removeMatchingMessages(createSelectorFilter(selector), maximumMessages); }
/** * Copies the messages matching the given selector up to the maximum number * of matched messages * * @return the number of messages copied */ public int copyMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest, int maximumMessages) throws Exception { return copyMatchingMessages(context, createSelectorFilter(selector), dest, maximumMessages); }
/** * Removes the messages matching the given selector up to the maximum number * of matched messages * * @return the number of messages removed */ public int removeMatchingMessages(String selector, int maximumMessages) throws Exception { return removeMatchingMessages(createSelectorFilter(selector), maximumMessages); }
/** * Copies the messages matching the given selector up to the maximum number * of matched messages * * @return the number of messages copied */ public int copyMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest, int maximumMessages) throws Exception { return copyMatchingMessages(context, createSelectorFilter(selector), dest, maximumMessages); }
/** * Copies the messages matching the given selector up to the maximum number * of matched messages * * @return the number of messages copied */ public int copyMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest, int maximumMessages) throws Exception { return copyMatchingMessages(context, createSelectorFilter(selector), dest, maximumMessages); }
/** * Copies the messages matching the given selector up to the maximum number * of matched messages * * @return the number of messages copied */ public int copyMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest, int maximumMessages) throws Exception { return copyMatchingMessages(context, createSelectorFilter(selector), dest, maximumMessages); }
/** * Removes the messages matching the given selector up to the maximum number * of matched messages * * @return the number of messages removed */ public int removeMatchingMessages(String selector, int maximumMessages) throws Exception { return removeMatchingMessages(createSelectorFilter(selector), maximumMessages); }
/** * Copies the messages matching the given selector up to the maximum number * of matched messages * * @return the number of messages copied */ public int copyMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest, int maximumMessages) throws Exception { return copyMatchingMessages(context, createSelectorFilter(selector), dest, maximumMessages); }
/** * Moves the messages matching the given selector up to the maximum number * of matched messages */ public int moveMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest, int maximumMessages) throws Exception { return moveMatchingMessagesTo(context, createSelectorFilter(selector), dest, maximumMessages); }
/** * Moves the messages matching the given selector up to the maximum number * of matched messages */ public int moveMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest, int maximumMessages) throws Exception { return moveMatchingMessagesTo(context, createSelectorFilter(selector), dest, maximumMessages); }
/** * Moves the messages matching the given selector up to the maximum number * of matched messages */ public int moveMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest, int maximumMessages) throws Exception { return moveMatchingMessagesTo(context, createSelectorFilter(selector), dest, maximumMessages); }
/** * Removes the messages matching the given selector up to the maximum number * of matched messages * * @return the number of messages removed */ public int removeMatchingMessages(String selector, int maximumMessages) throws Exception { return removeMatchingMessages(createSelectorFilter(selector), maximumMessages); }
/** * Moves the messages matching the given selector up to the maximum number * of matched messages */ public int moveMatchingMessagesTo(ConnectionContext context, String selector, ActiveMQDestination dest, int maximumMessages) throws Exception { return moveMatchingMessagesTo(context, createSelectorFilter(selector), dest, maximumMessages); }
/** * Removes the messages matching the given selector up to the maximum number * of matched messages * * @return the number of messages removed */ public int removeMatchingMessages(String selector, int maximumMessages) throws Exception { return removeMatchingMessages(createSelectorFilter(selector), maximumMessages); }