Hi,
How to convert these to C#.. thank you.
shaf wrote:
>
> Hello,
>
> I am trying to get a list of existing Queues with the following code:
>
> ActiveMQConnectionFactory connectionFactory = new
> ActiveMQConnectionFactory( server );
> ActiveMQConnection amqcon = connectionFact
Take a look at this thread for a potential solution:
http://www.nabble.com/%28Solved%29-Discovering-queues-programmatically-and-dequeuing-messages-off-of-them-tt19538405.html
kpalania wrote:
>
>
> James.Strachan wrote:
>>
>> It does take a little while for some destinations to show up as the
James.Strachan wrote:
>
> It does take a little while for some destinations 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
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
I can't seem to find the DestinationSource class -
http://activemq.apache.org/maven/activemq-core/apidocs/
Has this been deprecated?
jlim wrote:
>
> 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.ap
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 returns a null for some reason and
I know there are qu
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 );
>
Does anyone know whether this has been fixed? If so, how can I patch my
existing server with the fix (I dont have any build libraries to re-build
the source)?
It is critical for me to have the ability to browse for queues via the Java
API's
Thanks,
shaf.
ttmdev wrote:
>
> FYI - the "Destina
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
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 );
System.out.println("The queue has been
FYI - the "Destination" link @ the top of
http://activemq.apache.org/activemq-510-release.html is broken.
Joe
James.Strachan wrote:
>
> BTW you can listen to destinations being added/removed by calling the
> setDestinationListener method on the DestinationSource
>
>
>
> 2008/5/8 shaf <[EMA
BTW you can listen to destinations being added/removed by calling the
setDestinationListener method on the DestinationSource
2008/5/8 shaf <[EMAIL PROTECTED]>:
>
> Hello,
>
> I am trying to get a list of existing Queues with the following code:
>
> ActiveMQConnectionFactory connectionF
It does take a little while for some destinations to show up as they
are typically loaded asynchronously on the JMS client - does sleeping
for a second or so help?
2008/5/8 shaf <[EMAIL PROTECTED]>:
>
> Hello,
>
> I am trying to get a list of existing Queues with the following code:
>
>
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
16 matches
Mail list logo