Re: Can I replace MQSeries simply by ActiveMQ ?

2010-09-13 Thread andrew . marlow
The development will not be released as open source. It is part of some proprietary sw I am working on for my client. I mentioned it as an example of how it could be done, i.e how *you* could do it. I discussed the use of ActiveMQ-cpp as a wrapper for switching between AMQ and MQSeries at

Re: multiple ajax clients in the same browser?

2010-09-13 Thread Dejan Bosanac
Hi Alex, unfortunately this is not supported at the moment as listeners are tied to the session. The right approach would be to use some clientId defined in your application, like we have for REST and pass it to the servlet. If you're interested in taking a stab at implementing this, I can point

Re: multiple ajax clients in the same browser?

2010-09-13 Thread Dejan Bosanac
Also, you can take a look at web sockets (http://activemq.apache.org/websockets.html) and see if that maybe works for you. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog -

Re: activemq-cpp failure using stomp with activemq

2010-09-13 Thread Timothy Bish
On Sun, 2010-09-12 at 19:18 -0700, baudtender wrote: That made some progress, Tim, but we're not quite there yet. Starting activemq with the command: bin\activemq xbean:activemq-demo.xml I then loaded the project activemq-cpp-example and changed the brokerURI to be:

Failover problem

2010-09-13 Thread activeMqUser
Hello, i am facing a problem while implementing FailOver in activeMQ. I have 3 Brokers. Where i have made one Network by enabling networkConnectors networkConnector name=Network-Broker uri=static:(failover:(tcp://localhost:5001,tcp://localhost:5002)?randomize=false)

Re: Failover problem

2010-09-13 Thread Dejan Bosanac
What is a connection url you're using? Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Sep 13, 2010 at 1:56 PM, activeMqUser

Re: Failover problem

2010-09-13 Thread activeMqUser
Hi Dejan, Thanks for your quick reply. Connection url i didnt get it properly, but i am opening the JMS connection as following. public static Connection openJMSConnection() { isActiveMQRunning = false; ActiveMQConnectionFactory connectionFactory = null;

Re: Failover problem

2010-09-13 Thread Dejan Bosanac
MainClass.url is what is important. What;s the url you're using to connect to the brokers? Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Sep 13,

Re: activemq-cpp failure using stomp with activemq

2010-09-13 Thread baudtender
Short answer - I don't need to use Stomp with c++ when I connect to ActiveMQ broker, but expect to need to use Stomp with other languages (such as PHP) where OpenWire is not yet implemented. The reason I _am_ using Stomp with the AMQCPP client is that I have validated my packet encoding/decoding

[ANNOUNCE] ActiveMQ-CPP Version 3.2.3 Released

2010-09-13 Thread Timothy Bish
Hi Everyone, Its official, AcitveMQ-CPP v3.2.3 has now been released. This release addresses a Threading issue that could lead to invalid client Ids being assigned to connection as well as fixing another issue with MapMessage handling. Also the pkg-config script should now accurately reflect

Re: message filtering via ajax in 5.4?

2010-09-13 Thread Alex Dean
Patch is ready for consideration : https://issues.apache.org/activemq/browse/AMQ-2874 thanks, alex On Aug 5, 2010, at 8:41 AM, Dejan Bosanac wrote: Hi Alex, I think the 4th optional parameter would work just fine. Can you raise a Jira and attach patch there when you have it ready. Thanks!

Re: multiple ajax clients in the same browser?

2010-09-13 Thread Alex Dean
I'd be interested in attempting a fix for this problem. Please send along any information you think would help me get started. thanks, alex On Sep 13, 2010, at 3:25 AM, Dejan Bosanac wrote: Hi Alex, unfortunately this is not supported at the moment as listeners are tied to the session.

Re: activemq-cpp failure using stomp with activemq

2010-09-13 Thread Timothy Bish
On Mon, 2010-09-13 at 06:05 -0700, baudtender wrote: Short answer - I don't need to use Stomp with c++ when I connect to ActiveMQ broker, but expect to need to use Stomp with other languages (such as PHP) where OpenWire is not yet implemented. The reason I _am_ using Stomp with the AMQCPP

HTTP REST Number of consumers keep going up?

2010-09-13 Thread ChicagoBob123
If I use REST and ActiveMQ the number of consumers seems to go up even though they are no longer connected. I get on one machine post messages to the queue. I get on a different machine and consume the posts. I then stop consuming from that machine and it looks like its still connected? How do

Re: message filtering via ajax in 5.4?

2010-09-13 Thread Dejan Bosanac
Thanks Alex, I'll take a look at this patch tomorrow! Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Sep 13, 2010 at 3:45 PM, Alex Dean

Re: multiple ajax clients in the same browser?

2010-09-13 Thread Dejan Bosanac
Hi Alex, with REST API (which shares some common code with Ajax stuff), you can send clientId parameter to create/use client with the specified id (and not be tied to the session). IMHO it should work the same with Ajax API, so you can try with that for starters. If it doesn't work, take a look

Re: HTTP REST Number of consumers keep going up?

2010-09-13 Thread Dejan Bosanac
Hi Bob, REST API doesn't support unsubscribing at the moment. I raised Jira for this a while ago: https://issues.apache.org/activemq/browse/AMQ-1933 will look to implement it soon (any contribution from your side would be welcomed) Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open

Is there a list of REST keywords for ActiveMQ?

2010-09-13 Thread ChicagoBob123
So far I have uri addition of message/queuename // identifies you are going to post data to or get data from a queue JMSTimeToLive= // allows message to expire in millisecods if on queue too long. clientId= // an internal ID used to keep session open between gets

ActiveMQ - sending async persistent messages, what is the maximum that can be lost?

2010-09-13 Thread nervousbadger
Hi, We are currently in the process of migrating to ActiveMQ from our previous JMS provider. We hit a big performance issue with message production speeds on a blade server (we didn't see this during initial testing on a non-blade server, we suspect it is due to the disk caching in use) -

Re: Failover problem

2010-09-13 Thread activeMqUser
Hi Dejan, thanks again for ur quick reply. the url is : INFO: Connecting to URL : tcp://localhost:5009 with root as username and password. Its always the same tcp://localhost:5009 and on failure it is also trying to connect to the same address but unable to connect as the Broker is shut down.

Declaring a selector via JNDI?

2010-09-13 Thread Alec Bickerton
Hi, I'm looking for a way to configure a selector using JNDI. Is it possible? Here's my definitions inside the context.xml Resource name=jms/ConnectionFactory auth=Container type=org.apache.activemq.ActiveMQConnectionFactory description=ActiveMQ JMS Connection Factory

Re: HTTP REST Number of consumers keep going up?

2010-09-13 Thread ChicagoBob123
Dejan, Can I run an application on the server that would eliminate all the consumers of a queue every 15 minutes or so? I dont even know if there is such a thing in code as dump consumers without restarting the server. -- View this message in context:

Remove consumer from broker if socket is closed due to write timeout

2010-09-13 Thread jflygare
I am using ActiveMQ 5.3.1 and running into a scenario where consumers will sometimes stop reading from the socket, leaving the transport write in a blocked state (known issue). I have configured the transport.soWriteTimeout in the transport URI and the socket does close after the timeout period,

Upgrade from 5.3.2 to 5.4

2010-09-13 Thread kseelam
Hi We are using 5.3.2 and wondering how to upgrade to 5.4. Is there any process for it? or just install 5.4 and uninstall 5.3.2. Please advise. Thanks in advance. -- View this message in context: http://activemq.2283324.n4.nabble.com/Upgrade-from-5-3-2-to-5-4-tp2538274p2538274.html Sent

Re: Dead letter queue not being created

2010-09-13 Thread kseelam
Any help? Thanks! -- View this message in context: http://activemq.2283324.n4.nabble.com/Dead-letter-queue-not-being-created-tp2363341p2538275.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Upgrade from 5.3.2 to 5.4

2010-09-13 Thread Stan Lewis
Yup, that's basically it, you should be able to re-use your configuration file form 5.3.2 with 5.4. On Mon, Sep 13, 2010 at 8:26 PM, kseelam krishna_see...@hotmail.com wrote: Hi We are using 5.3.2 and wondering how to upgrade to 5.4.  Is there any process for it? or just install 5.4 and

Re: Upgrade from 5.3.2 to 5.4

2010-09-13 Thread Johan Edstrom
Doing a test install might be a good idea? That said, what Stan said. On Sep 13, 2010, at 7:21 PM, Stan Lewis wrote: Yup, that's basically it, you should be able to re-use your configuration file form 5.3.2 with 5.4. On Mon, Sep 13, 2010 at 8:26 PM, kseelam krishna_see...@hotmail.com wrote: