Hi,
Destinations in activemq are created dynamically so my guess here is
unless we're creating a durable queue i don't think we need to persist
it. I've not really checked but I believe the Jmx addQueue operation
creates a non-durable queue by default.
http://activemq.apache.org/how-do-i
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
Hi Jean,
A MessageListener should only be set if you are using an asynchronous
consumer, you will need to comment out
"subscriber.setMessageListener(ml);" in your code if you're going to be
using a synchronous consumer (ie. consumer.receive) which looks to be
the case in your sample code. afa
Hi,
You may want to check out some of the unit tests for jmx for examples on
obtaining references to activemq mbeans
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/
Regards,
Jonas
taubler wrote:
Hi,
I'm looking for a way to programmat
Hi,
You may want to look at using failover to connect to the broker
http://activemq.apache.org/failover-transport-reference.html
Regards,
Jonas
Gokulal wrote:
Hi All,
I am using a Message Listener to listen to the destination.
Can I make the listner up automatically after a restart of t
active mq's 5.0 snapshot which you have mentioned "message cursors for
persistent messages" can it be found online on active web site ? How do
we get to know,the code details , data structures used etc ?
-Original Message-----
From: Jonas Lim [mailto:[EMAIL PROTECTED]
Sent: Tue
hi
Suchitha Koneru (sukoneru) wrote:
Hello Active MQ users/developers ,
Our application is currently using Actiive MQ
4.1.1 version. We have an embedded broker in Tomcat 5.5 , without
persistence , durable subscribers and Topic publishers , with a time to
live of 5 minu
Hi Paul,
Yes. You can use the setDestinationPolicy(PolicyMap) of the
BrokerService object. You can see some examples on programmatically
configuration destination policies here:
http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/
R
Hi Tom,
Here's the link on startup destinations
http://activemq.apache.org/configure-startup-destinations.html
Regards,
Jonas
Tom Samplonius wrote:
How do you define a queue in activemq.xml? I looked at the XSD and the best
that I could come up with is:
But this causes a null
Hi Naresh,
I added a bit of documentation on the default values here
http://cwiki.apache.org/confluence/display/ACTIVEMQ/What+is+the+prefetch+limit+for
Regards,
Jonas
Naresh Bhatia wrote:
Jonas, that did the trick. Thank you.
BTW, are the default values documented somewhere? I could only fin
Hi
Can you try setting your prefetch limit to a lower value (ie. 10) ?
http://activemq.apache.org/what-is-the-prefetch-limit-for.html
Regards,
Jonas
Naresh Bhatia wrote:
I have a very simple Java program that creates 10 MessageListeners to receive
JMS messages concurrently from a queue. The M
Hi Raffaele,
Just out of curiosity , what would you be doing with the Queue object?
If you already know the name of an existing queue then you can just use
Session.createQueue (or do a jndi lookup) to get the queue object and
use it to create a |MessageConsumer| or a |MessageProducer| to
r
Hi,
If you just want to get the handle of a queue object based on its name I
think you can use the Session.createQueue(String queueName) method.
Regards,
jonas
*
*
Raffaele wrote:
Hi all,
I'm looking for a method to retrieve a specific queue based on its name,
that is a method that ret
Hi,
Try disabling mulitcast discovery in the activemq.xml :
Regards,
Jonas
Eric Nygma wrote:
Hi,
I have downloaded Apache ActiveMQ 4.1.1 on windows.After following the
setup
instructions. I executed the apache-activemq-4.1.1/bin/activemq.bat
script :
I got the followin
Hi,
I wonder if it's an issue with mysql driver/server compatibility.
Have you tried using other versions of the mysql connector?
Regards,
Jonas
Regards,
Jonas
Vinod_mit wrote:
Hi friends
iam trying to connect mysql with acitvemq here is my code
and here
Hi,
You can disable advisory support in your broker config file :
>
Regards,
Jonas
sparky2708 wrote:
My ActiveMQ clients create TEMPORARY queues and I have been looking through
the active queues recently and I noticed a number of advisory queues are
sticking around that refer to the t
Hi,
I believe what you're seeing are advisory topics which are automatically
created by default by activemq to send advisory messages to monitor the
behavior of the system (ie. starting of connections, creation of
destinations, etc).
http://activemq.apache.org/advisory-message.html
Btw, you
For topics the consumer must be created first since messages are only
delivered to the available consumers at the time the broker receives the
message.
For durable subscribers you can create a durable subscriber, kill it,
run the producer, then start the subscriber again.
http://java.sun.co
Hi,
Can you check if you're calling the connection's start method
(connection.start()) before starting your consumers.
You could also try running the example consumer that is included in the
distribution to check if the problem is with your consumer.
Regards,
Jonas
Bai Shen wrote:
Okay, s
Good catch Lorne!
Added a patch for this issue on the svn trunk r507792.
https://issues.apache.org/activemq/browse/AMQ-1163
Regards,
Jonas
Lorne Wilson wrote:
Folks,
I've been trying to use the tempDestinationAuthorizationEntry feature in 4.2
and I think I've found a problem. If I set up a
20 matches
Mail list logo