Networked failover brokers don't forward subscriptions

2011-04-28 Thread mgfarme
I have 2 brokers on different machines - say A and B. Broker B statically connects to broker A, using the failover:tcp protocol I have a subscriber to B that connects using the failover:tcp protocol too. I can send messages from a publisher on A to the subscriber on B. I can also see the network

Re: ActiveMQ restarting by itself

2011-04-28 Thread Johan Edstrom
Have you checked the logs for that restarted machine? And maybe you need to setup your clients with a slight reconnect delay? On Apr 28, 2011, at 3:18 PM, TheFarmer wrote: > I have ActiveMQ running as a Windows service. Windows logs whenever a > service is stopped or started. I am seeing in t

Scaleability problems with queue subscriptors

2011-04-28 Thread Josh Carlson
We are using a shared file system Master/Slave for the broker. Version 5.4.2. Our clients use the STOMP protocol. We use client acknowledgements and communicate synchronously with the broker (using receipts). We set prefetch to 1 in our subscriptions. Our clients iterate over several queues, sub

Re: Messages stuck in queue

2011-04-28 Thread Gary Tully
Erpolat, at this stage do you have a reproducedable junit test case? On 28 Apr 2011 16:59, "lernen.2007" wrote: > We experiment with all settings and the messages stuck further. We can not > need a messaging system in which the messages stuck. > > -- > View this message in context: http://activemq

ActiveMQ restarting by itself

2011-04-28 Thread TheFarmer
I have ActiveMQ running as a Windows service. Windows logs whenever a service is stopped or started. I am seeing in the logs that the ActiveMQ is starting up but the windows logs don't show any service restarting at that time. So it appears that ActiveMQ is restarting by itself. Any idea why or

Re: Messages stuck in queue

2011-04-28 Thread lernen.2007
We experiment with all settings and the messages stuck further. We can not need a messaging system in which the messages stuck. -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-tp3244342p3481443.html Sent from the ActiveMQ - User mailing list archive

Re: Messages stuck in queue

2011-04-28 Thread Geoffrey Arnold
FWIW we experienced the same issue when using a single queue with selectors. Simply moving to multiple queues without selectors resolved the issue. Most definitely related to the default page size setting others have mentioned, but we didn't have time to experiment with different settings. YM

Re: How to send a textMessage to an exising queue (destination)

2011-04-28 Thread Timothy Bish
On Thu, 2011-04-28 at 07:43 -0700, mruan wrote: > Thank you very much! In fact I read a lot of your posts on activeMQ. > > I'm sorry that I still cannot find the solution by reading the faq. I hope > that you understand what I want: just send a textMessage to an existing > queue, that's it. Now t

Re: How to send a textMessage to an exising queue (destination)

2011-04-28 Thread mruan
Thank you very much! In fact I read a lot of your posts on activeMQ. I'm sorry that I still cannot find the solution by reading the faq. I hope that you understand what I want: just send a textMessage to an existing queue, that's it. Now the situation is as follows: - if the queue does exist, no

Re: Error with ActiveMQ 5.5 and websocket over Stomp client

2011-04-28 Thread Alex Dean
On Apr 28, 2011, at 3:24 AM, stratio wrote: > Hello, I'm using a ruby client and activemq 5.5 to publish messages on a > topic and then i would like to consume them with a js client using websocket > over Stomp. I believe you've had problems in the past consuming XML messages which contain embe

Re: How to send a textMessage to an exising queue (destination)

2011-04-28 Thread Timothy Bish
On Thu, 2011-04-28 at 07:19 -0700, mruan wrote: > I’m new here! > > I am using activeMQ-CPP to develop an application in C++. > > As you may know that we can send a textMessage to an queue, in most case we > use the following code: > > > -Destination *destination = session->createQueue(

How to send a textMessage to an exising queue (destination)

2011-04-28 Thread mruan
I’m new here! I am using activeMQ-CPP to develop an application in C++. As you may know that we can send a textMessage to an queue, in most case we use the following code: -Destination *destination = session->createQueue("queueName"); -MessageProducer *producer = session->creat

Re: Messages stuck in queue

2011-04-28 Thread Heimi
Great to find this thread. This is exactly my own setup and we have exactly the same problem here. The backend db is a Oracle DB and we run into this situation frequently. We see some messages in the admin view. When we try to look into them, no messages are shown on the detailed view of the Admi

Re: how to stop AMQ gracefully?

2011-04-28 Thread manua
Hi Michal, assuming, you are running activemq from linux box, just go to the activemq folder and give the command, bin/activemq stop This will stop the activemq. You can also check your activemq status in the same way as, bin/activemq status. I am not sure about windows setup. Thanks, Manu

Usage memory Limit hit with Network of Brokers.

2011-04-28 Thread manua
HI, I setup a network of brokers between 3 brokers as, (similarly made settings on other two brokers as well) The messages being published on one topic were distributed to all three brokers. When on of the broker went down, the memory message limit was hit on other brokers and the sy

Re: ActiveMQ Resource Adapter configuration with Websphere Application server for XA Transactions

2011-04-28 Thread vdetez
Sir, Did you succeed to install ActiveMQ as Resource adapter for websphere. I have same config but it does not run for me [4/22/11 11:03:50:972 CEST] 0021 SystemErr R Caused by: java.io.IOException: Could not find factory class for resource: META-INF/services/org/apache/activemq/transp

Error with ActiveMQ 5.5 and websocket over Stomp client

2011-04-28 Thread stratio
Hello, I'm using a ruby client and activemq 5.5 to publish messages on a topic and then i would like to consume them with a js client using websocket over Stomp. Now i'm using Jeff Mesnil js client and it worked great with Activemq 5.4, however with the 5.5 version i'm experiencing a serious troub

how to stop AMQ gracefully?

2011-04-28 Thread Michal Singer
Hi, what is the recommended way to stop the AMQ broker? Is there any configuration or procedure to do when shutting down the broker? I have a broker embedded in Spring, what is the best way to go down gracefully? Thanks, Michal Singer