ease.
>
> Thanks,
> Shaf.
>
--
View this message in context:
http://www.nabble.com/AMQ-5.1---How-to-get-a-list-of-Queues-tp17117156p20086143.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
nations to show up as they
>> are typically loaded asynchronously on the JMS client - does sleeping
>> for a second or so help?
>>
>
> I believe this is the same problem that I am running into. Is this a bug?
>
--
View this message in context:
http://www.
ew this message in context:
http://www.nabble.com/AMQ-5.1---How-to-get-a-list-of-Queues-tp17117156p19555220.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
2008/6/25 shaf <[EMAIL PROTECTED]>:
>
> Gents,
>
> I am really having a hard time trying to get a list of queues
> programmatically (Java). I have seen the DestinationSource (
> connection.getDestinationSource() ) working on my local laptop but when
> deployed onto the server environment, it return
2008/8/12 kpalania <[EMAIL PROTECTED]>:
>
> I can't seem to find the DestinationSource class -
>
> http://activemq.apache.org/maven/activemq-core/apidocs/
>
> Has this been deprecated?
No its just the javadoc hasn't been redeployed in a while
--
James
---
http://macstrac.blogspot.com/
Open
PhysicalName() );
>> }
>>
>> The code above does not work consistently. I have a sample queue as well
>> as
>> one that I created using the admin interface and none show up. Can
>> someone
>> provide some guidance here please.
>>
>> Thank
pet, it does
>>> not
>>> show up. When I try using the admin console, I still dont see the queue
>>> that
>>> I created! Is there something wrong or is this a bug??
>>
>> No this is not a bug - please read
>> http://activemq.apache.org/how-do-i-cr
If you really want to create and list queues you could use the
JMX-interface to the broker and call the addQueue method on the
Broker-MBean. That does create an empty queue.
Mario
On Wed, Jun 25, 2008 at 3:20 PM, James Strachan
<[EMAIL PROTECTED]> wrote:
> 2008/5/8 shaf <[EMAIL PROTECTED]>:
>>
>>
2008/5/8 shaf <[EMAIL PROTECTED]>:
>
> Thanks guys, so when I try to create a Queue using the following:
>
>ActiveMQSession session = this.con.getConnection().createSession(false,
> Session.AUTO_ACKNOWLEDGE);
>// create queue
>Queue request = session.createQueue( name );
>
;>>
>>> The code above does not work consistently. I have a sample queue as
>>> well as
>>> one that I created using the admin interface and none show up. Can
>>> someone
>>> provide some guidance here please.
>>>
>>> Thank
2008/5/8 shaf <[EMAIL PROTECTED]>:
>
> Thanks guys, so when I try to create a Queue using the following:
>
> ActiveMQSession session =
> this.con.getConnection().createSession(false,
> Session.AUTO_ACKNOWLEDGE);
> // create queue
> Queue request = session.createQueue( nam
ame()
>> );
>> }
>>
>> The code above does not work consistently. I have a sample queue as well
>> as
>> one that I created using the admin interface and none show up. Can
>> someone
>> provide some guidance here please.
>>
>&
created using the admin interface and none show up. Can
>> someone
>> provide some guidance here please.
>>
>> Thanks,
>> Shaf.
>> --
>> View this message in context:
>> http://www.nabble.com/AMQ-5.1---How-to-get-a-list-of-Queues-tp17117156s2354p17117156.ht
ne that I created using the admin interface and none show up. Can someone
> provide some guidance here please.
>
> Thanks,
> Shaf.
> --
> View this message in context:
> http://www.nabble.com/AMQ-5.1---How-to-get-a-list-of-Queues-tp17117156s2354p17117156.html
>
ample queue as well as
> one that I created using the admin interface and none show up. Can someone
> provide some guidance here please.
>
> Thanks,
> Shaf.
> --
> View this message in context:
> http://www.nabble.com/AMQ-5.1---How-to-get-a-list-of-Queues-tp1
Hi Shaf,
Just tested this on 5.1.0 and seems to work fine on my test. I tested
this using startup destinations
(http://activemq.apache.org/configure-startup-destinations.html) and
also creating one via jmx.
Can you look in jconsole (or any jmx console) to see if the queues are
actually cr
nsistently. I have a sample queue as well as
one that I created using the admin interface and none show up. Can someone
provide some guidance here please.
Thanks,
Shaf.
--
View this message in context:
http://www.nabble.com/AMQ-5.1---How-to-get-a-list-of-Queues-tp17117156s2354p17117156.html
Sen
17 matches
Mail list logo