Re: Statistics plugin - measurement units

2011-06-16 Thread agujral
I am not sure I should write this, can you please share code I am trying to write jmx client to get statistics but it is not working for me thanks Anurag -- View this message in context: http://activemq.2283324.n4.nabble.com/Statistics-plugin-measurement-units-tp3596490p3604564.html Sent from the

Re: Trying to access activemq statistics not working

2011-06-16 Thread agujral
Can you please guide me what the correct way is then so that I dont get this error. Thanks Anurag -- View this message in context: http://activemq.2283324.n4.nabble.com/Trying-to-access-activemq-statistics-not-working-tp3504459p3604544.html Sent from the ActiveMQ - User mailing list archive at N

Re: How to reprocess DLQ message in .NET C#?

2011-06-16 Thread Timothy Bish
On Thu, 2011-06-16 at 10:21 -0700, Scott wrote: > Hi Tim, how can i republish the message using standard NMS APIs? > > Is there any NMS API can move message from DLQ to Original Destination > instead of creating a new message? > > The following code is i use to reply message from DLQ, but it alwa

Re: Can ActiveMQ send GB size message?

2011-06-16 Thread Norman Maurer
if you really want to send such bug messages you sohould have a look at blobmessages http://activemq.apache.org/blob-messages.html bye norman Am Donnerstag, 16. Juni 2011 schrieb jessezbj : > Or what is the biggest size of the message which can be sent through > ActiveMQ? > > -- > View this mes

Can ActiveMQ send GB size message?

2011-06-16 Thread jessezbj
Or what is the biggest size of the message which can be sent through ActiveMQ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-send-GB-size-message-tp3603404p3603404.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Detect empty Queue programmatically

2011-06-16 Thread Jason Whaley
Out of curiosity, what is the purpose of detecting an empty queue and firing off this query? What is the end goal you are attempting to accomplish? Perhaps there's a better solution than trying to determine if the queue is empty. On Wed, Jun 15, 2011 at 11:56 AM, Yuvaraj Vanarase < yuvaraj.vanar

Re: How to reprocess DLQ message in .NET C#?

2011-06-16 Thread Scott
Hi Tim, how can i republish the message using standard NMS APIs? Is there any NMS API can move message from DLQ to Original Destination instead of creating a new message? The following code is i use to reply message from DLQ, but it always create a new message instead of using old message. IMes

occasional NullPointerExceptions in ActiveMQTextMessage.getSize()

2011-06-16 Thread Ivan Pechorin
Hello, Sometime we get NullPointerException when sending a text message. We use method send(destination, message) of interface javax.jms.MessageProducer. java.lang.NullPointerException at org.apache.activemq.command.ActiveMQTextMessage.getSize(ActiveMQTextMessage.java:148) at org.apache.activemq

Re: How can I remove old queues without a java client?

2011-06-16 Thread James Green
Dare I ask - would this be something useful to enable in shipping activemq.xml configuration files? Just a quick Googling leads me to believe each unused destination requires AMQ to maintain a destination thread each of which requires RAM and overhead... James On 16 June 2011 14:34, Dejan Bosana

Re: How can I remove old queues without a java client?

2011-06-16 Thread James Green
Going to try this out on our test network. Is there a bug for the mis-spelt inactiveTimoutBeforeGC? JIRA appears to be dead at present. On 16 June 2011 14:34, Dejan Bosanac wrote: > Yes, the inactivity means that there's 0 messages for some time and there > are no new producers/consumers added

Re: How can I remove old queues without a java client?

2011-06-16 Thread Dejan Bosanac
Yes, the inactivity means that there's 0 messages for some time and there are no new producers/consumers added Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manni

Re: Detect empty Queue programmatically

2011-06-16 Thread James Green
This sounds like a good idea but the wrong thing to be doing. After all, it could well bog the broker down if the queue is constantly hitting zero messages. Besides, how might it work in a peer networked environment? Sounds like a complicated thing to document! James On 15 June 2011 18:56, Yuvara

Is there a roadmap?

2011-06-16 Thread James Green
We use ActiveMQ across our network. I occassionally hear on the Internet references to Apollo, which claims to be the next generaton of ActiveMQ. Is there some document explaining what "the plan" is? Will AMQ continue to be supported & updated for a long time to come or will users be "encouraged"

Re: Message loss in network of brokers - transactional send

2011-06-16 Thread oseymen
Here is some more info: I enabled debug logging and can see where the problem is (however I still don't know what the solution is). I ran my test again and send 5000 messages to one broker which is configured to store-and-forward the message to broker2. Two brokers are connected via network of br

Re: How can I remove old queues without a java client?

2011-06-16 Thread James Green
Now that's helpful... Let me just confirm my understanding: schedulePeriodForDestinationPurge="1" Is telling the broker to delete inactive destinations every ten seconds? gcInactiveDestinations="true" inactiveTimoutBeforeGC="3" Is expressing that the policyEntry should be garbage collec

Re: Gathering the information of a Queue in Java

2011-06-16 Thread Aneesh
I went through those, but still cant get it.. I only have the BrokerService instance with me. >From this instance i need to look up the attributes of a queue.. is it possible? Basically from the junit files in the repository this is the way in whic we can get a QueueViewMbean instance of a queue;

Re: How can I remove old queues without a java client?

2011-06-16 Thread Dejan Bosanac
Thanks Martin, I totally forgot about that :) Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, Jun 16, 20

Re: How can I remove old queues without a java client?

2011-06-16 Thread Dejan Bosanac
Not sure what language are you using, but for Ruby and Perl there are libs that can connect to JMX. Also, it shouldn't be too hard to create a REST solution to this. Take a look at existing stuff in activemq-web module. Regards -- Dejan Bosanac - http://twitter.com/dejanb - The

Re: How can I remove old queues without a java client?

2011-06-16 Thread Martin C.
Hi, Have a look at http://activemq.apache.org/delete-inactive-destinations.html This might be what you want. Best regards, Martin On Wed, Jun 15, 2011 at 11:00 PM, James Green wrote: > Not sure this is even possible? > > We dynamically create our queues by pushing messages to channels with > ac

Re: ActiveMQ connections hangs sometimes when calling start on a connection

2011-06-16 Thread Dejan Bosanac
It doesn't seems to get necessary response from the broker. Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On