You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Kevin Burton <bu...@spinn3r.com> on 2014/12/19 01:34:56 UTC

Is it possible to read all messages that are schedule?

I’m looking at a way to decommission one queue and move the load to another
queue.  But scheduled messages pose a problem.  They are kind of hidden.

Is it possible to read all of them in one pass?  a queue browser would work
but they aren’t exposed as queues.

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Re: Is it possible to read all messages that are schedule?

Posted by Timothy Bish <ta...@gmail.com>.
On 12/19/2014 03:43 PM, Kevin Burton wrote:
> This stuff is cool but in the back of my mind I’m not sure how much I
> should rely on it because it seems the documentation is here and there.
>
> Are there tests for this stuff?
Yup
https://github.com/apache/activemq/blob/d54e0d6ab590b6a6148a5e2629c45b95d3f40eb8/activemq-unit-tests/src/test/java/org/apache/activemq/broker/scheduler/JobSchedulerManagementTest.java


> Kevin
>
> On Fri, Dec 19, 2014 at 11:17 AM, Timothy Bish <ta...@gmail.com> wrote:
>> On 12/18/2014 07:34 PM, Kevin Burton wrote:
>>
>>> I’m looking at a way to decommission one queue and move the load to
>>> another
>>> queue.  But scheduled messages pose a problem.  They are kind of hidden.
>>>
>>> Is it possible to read all of them in one pass?  a queue browser would
>>> work
>>> but they aren’t exposed as queues.
>>>
>>>   Some tricks for managing the scheduled messages can be found here:
>> http://timbish.blogspot.com/2010/10/enhanced-jms-
>> scheduler-in-activemq.html
>>
>> --
>> Tim Bish
>> Sr Software Engineer | RedHat Inc.
>> tim.bish@redhat.com | www.redhat.com
>> skype: tabish121 | twitter: @tabish121
>> blog: http://timbish.blogspot.com/
>>
>>


-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Re: Is it possible to read all messages that are schedule?

Posted by Kevin Burton <bu...@spinn3r.com>.
This stuff is cool but in the back of my mind I’m not sure how much I
should rely on it because it seems the documentation is here and there.

Are there tests for this stuff?

Kevin

On Fri, Dec 19, 2014 at 11:17 AM, Timothy Bish <ta...@gmail.com> wrote:
>
> On 12/18/2014 07:34 PM, Kevin Burton wrote:
>
>> I’m looking at a way to decommission one queue and move the load to
>> another
>> queue.  But scheduled messages pose a problem.  They are kind of hidden.
>>
>> Is it possible to read all of them in one pass?  a queue browser would
>> work
>> but they aren’t exposed as queues.
>>
>>  Some tricks for managing the scheduled messages can be found here:
> http://timbish.blogspot.com/2010/10/enhanced-jms-
> scheduler-in-activemq.html
>
> --
> Tim Bish
> Sr Software Engineer | RedHat Inc.
> tim.bish@redhat.com | www.redhat.com
> skype: tabish121 | twitter: @tabish121
> blog: http://timbish.blogspot.com/
>
>

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Re: Is it possible to read all messages that are schedule?

Posted by Timothy Bish <ta...@gmail.com>.
On 12/18/2014 07:34 PM, Kevin Burton wrote:
> I’m looking at a way to decommission one queue and move the load to another
> queue.  But scheduled messages pose a problem.  They are kind of hidden.
>
> Is it possible to read all of them in one pass?  a queue browser would work
> but they aren’t exposed as queues.
>
Some tricks for managing the scheduled messages can be found here:
http://timbish.blogspot.com/2010/10/enhanced-jms-scheduler-in-activemq.html

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/