Re: Installing Activemq-cpp (3.2.2) on Mac OS X

2010-09-08 Thread Ivan Pechorin
Hello > On Tue, 2010-08-03 at 12:33 -0700, Marc Luce wrote: >> My LD_LIBRARY_PATH=::/usr/lib:/usr/local/lib I wonder if APR 1.4.x is supported? README in branches/activemq-cpp-3.2.x still suggests APR >= 1.3*. Regards, Ivan

Re: Fwd: JBoss 5.1 and ActiveMQ

2010-09-08 Thread Bruce Snyder
On Wed, Sep 8, 2010 at 3:11 PM, Benoit Xhenseval wrote: > Hi Bruce > This is very appreciated. I will pass it around our team and will get the > AMQ in Action book too. > Thanks for your help, we've been facing a rather complex transaction > issue... The first message is processed ok by AMQ/Jboss/

Re: Just receive text from STOMP in java

2010-09-08 Thread petersk
OK, contrary to some information out there, the jms onMessage as part of Spring will process stomp as a text message. This post is misleading, at best:http://www.apacheserver.net/ActiveMQ-JMS-API-hangs-when-trying-to-start-connection-over-Stomp-at214579.htm Below is an example of my configuration

Just receive text from STOMP in java

2010-09-08 Thread petersk
I'd like to simply just be able to receive text sent via Python in STOMP using java/Spring. Is there ANY way to do this? I see in this web site: http://activemq.apache.org/stomp.html that ActiveMQ provides a STOMP API. Is THAT what everyone is using to receive STOMP text? Otherwise, I assume e

ActiveMQ 5.4.0: receiving warnings whenever a broker is stopped/restarted

2010-09-08 Thread Colleen Velo
Receiving lots of these messages on the remaining active brokers, whenever I stop a broker (that still has messages on the queue): *2010-09-08 16:03:25,571 [2.100.216:53706] WARN PrefetchSubscription - Ignoring ack received before dispatch; result of failover with an outstanding ack. Acked me

Re: Even after upgrade to ActiveMQ 5.4.0, still seeing negative #'s in the "Pending Msgs" column

2010-09-08 Thread Colleen Velo
Gary, * * *Sorry - last message was incomplete - technical difficulties* Haven't had any luck reproducing this issue with a JMeter test, however, I can reproduce it on a fairly regular basis using our in-house application script, which puts tons of application messages on the queues. Also, I don'

Re: Even after upgrade to ActiveMQ 5.4.0, still seeing negative #'s in the "Pending Msgs" column

2010-09-08 Thread Colleen Velo
Gary, Haven't had any luck reproducing this issue with a JMeter test, however, I can reproduce it on a fairly regular basis using our in-house application script, which puts Also, I don't seem to see this issue when there is only a single broker running, only when there is two or more running in

Re: configuring and using ActiveMQ with http

2010-09-08 Thread ChicagoBob123
On Wed, 2010-09-08 at 12:41 -0700, ChicagoBob123 wrote: > Does the CMS C++ client support Http transport? No, only the Java client provides HTTP transport at this time. Regards -- Tim Bish More questions poped up. Where can I find the spec or outline to do something like this? My guess is

Re: configuring and using ActiveMQ with http

2010-09-08 Thread ChicagoBob123
ARGGH BUMMER Oh well. Guess I have to find the source for this and do a little translating if I can. Thanks a bunch. -- View this message in context: http://activemq.2283324.n4.nabble.com/configuring-and-using-ActiveMQ-with-http-tp2531794p2531955.html Sent from the ActiveMQ - User mailin

Re: configuring and using ActiveMQ with http

2010-09-08 Thread Timothy Bish
On Wed, 2010-09-08 at 12:41 -0700, ChicagoBob123 wrote: > Does the CMS C++ client support Http transport? No, only the Java client provides HTTP transport at this time. Regards -- Tim Bish Open Source Integration: http://fusesource.com ActiveMQ in Action: http://www.manning.com/snyder/ Follow

Re: configuring and using ActiveMQ with http

2010-09-08 Thread ChicagoBob123
Does the CMS C++ client support Http transport? -- View this message in context: http://activemq.2283324.n4.nabble.com/configuring-and-using-ActiveMQ-with-http-tp2531794p2531912.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

JBoss 5.1 and ActiveMQ

2010-09-08 Thread Benoit Xhenseval
Hi Has anyone managed to work with JBoss 5.1 and embedding ActiveMQ as a Resource Adapter? If so, we'd very interested in seeing the setup... We're using Spring MDP (therefore Spring JtaTransactionManager, Spring 2.5.6). Thanks Benoit IMPORTANT NOTICE This communicati

Re: configuring and using ActiveMQ with http

2010-09-08 Thread Timothy Bish
On Wed, 2010-09-08 at 11:32 -0700, ChicagoBob123 wrote: > Anyone use ActiveMQ with http before? > > I got work to buy the book ActiveMQ in Action. > Its not too bad but its not answering my question directly. Its obvious you > can use http transport but its not clear on how from the client persp

Re: configuring and using ActiveMQ with http

2010-09-08 Thread Satterly Nicholas (Nokia-MS/Southwood)
Try changing the uri to "http://0.0.0.0:8080?trace=true";. If you use localhost I think it only listens on the loopback address 127.0.0.1. --Nick. On 08/09/10 19:32, ext ChicagoBob123 wrote: Anyone use ActiveMQ with http before? I got work to buy the book ActiveMQ in Action. Its not too ba

configuring and using ActiveMQ with http

2010-09-08 Thread ChicagoBob123
Anyone use ActiveMQ with http before? I got work to buy the book ActiveMQ in Action. Its not too bad but its not answering my question directly. Its obvious you can use http transport but its not clear on how from the client perspective. I think you need to alter activemq.xml in the section

Consumer is not able to pick messages from queue

2010-09-08 Thread manua
Hi All, I am working on request-response system, where all the requests are posted on a single queue with different selectors. There are multiple consumers listening on the queue. When the load is low, this works fine. Each consumer is able to process the respective message. But if the load is h

Re: Even after upgrade to ActiveMQ 5.4.0, still seeing negative #'s in the "Pending Msgs" column

2010-09-08 Thread Colleen Velo
Gary, Forgot to add that I do see the same thing in JConsole, that is the negative counts. On Fri, Sep 3, 2010 at 1:37 PM, Colleen Velo wrote: > Gary, > > Thanks for the clarification - still working on a JUnit test. > Currently right now the steps that I use to reproduce it is > to have the 3

Re: How to store everything in DB

2010-09-08 Thread Gary Tully
look at the tests: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/virtual/ On 8 September 2010 14:11, stephanion2002 wrote: > > > Gary Tully wrote: >> >> Look at virtual destinations, you can configure a destination mirror: >> http://activemq.ap

Re: How to store everything in DB

2010-09-08 Thread stephanion2002
Gary Tully wrote: > > Look at virtual destinations, you can configure a destination mirror: > http://activemq.apache.org/mirrored-queues.html > http://activemq.apache.org/virtual-destinations.html > > On 8 September 2010 13:04, stephanion2002 > wrote: >> >> Thanks Gary, >> >> Actually we need

Re: How to monitor queue size programmatically?

2010-09-08 Thread Dejan Bosanac
Also checkout unit test, like this one http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java?view=markup to see how to do it programatically. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fuse

Re: How to monitor queue size programmatically?

2010-09-08 Thread stephanion2002
Don, Gary has just told me today to explore these for queue monitoring and all.and we are still exploring :) http://activemq.apache.org/mirrored-queues.html http://activemq.apache.org/virtual-destinations.html -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-st

Re: How to monitor queue size programmatically?

2010-09-08 Thread Tracy Snell
That info is exposed through JMX. Fire up jconsole and browse and you'll see it. On Sep 8, 2010, at 8:47 AM, Don Santillan wrote: > Hello, > > Is there a way to monitor or count the queue size programmatically? > > Can I see a sample code snippet? > > Thanks! > Don

How to monitor queue size programmatically?

2010-09-08 Thread Don Santillan
Hello, Is there a way to monitor or count the queue size programmatically? Can I see a sample code snippet? Thanks! Don

Re: How to store everything in DB

2010-09-08 Thread stephanion2002
Thanks Gary ! I will explore it and reply on the thread. -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-store-everything-in-DB-tp2531110p2531195.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How to store everything in DB

2010-09-08 Thread Gary Tully
Look at virtual destinations, you can configure a destination mirror: http://activemq.apache.org/mirrored-queues.html http://activemq.apache.org/virtual-destinations.html On 8 September 2010 13:04, stephanion2002 wrote: > > Thanks Gary, > > Actually we need to store some "important" messages even

Re: How to store everything in DB

2010-09-08 Thread stephanion2002
Thanks Gary, Actually we need to store some "important" messages even after they are delivered to a subscriber of a topic. Seems they get deleted after the delivery. Kshitiz -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-store-everything-in-DB-tp2531110p2531177.h

Re: How to store everything in DB

2010-09-08 Thread Gary Tully
ActiveMQ will create all the relevant tables automatically at startup. On 8 September 2010 11:54, stephanion2002 wrote: > > Hi, > > In our project, we have configured Mysql to be used in place of ActiveMQ's > KahaDB by configuring the ActiveMQ's config file. Now, we have to store all > the info f

How to store everything in DB

2010-09-08 Thread stephanion2002
Hi, In our project, we have configured Mysql to be used in place of ActiveMQ's KahaDB by configuring the ActiveMQ's config file. Now, we have to store all the info for all the topics, queues, and passed messages etc. in mysql. How can we do that. Do we have to do all that through our java code or