Re: how can i build activemq cpp in vc6?

2010-09-10 Thread Timothy Bush
The activemq-cop code won't build in anything older than VC2005. Sent from my iPhone On Sep 10, 2010, at 9:10 PM, sftp wrote: > My project is builded with vc6, so i need to build activemq cpp with vc6 > But i just found vs-2008 solution in download package, so how can i build > activemq librar

how can i build activemq cpp in vc6?

2010-09-10 Thread sftp
My project is builded with vc6, so i need to build activemq cpp with vc6 But i just found vs-2008 solution in download package, so how can i build activemq library with vc6 ? Thanks

Re: Queue control. Or message expiration

2010-09-10 Thread Stan Lewis
Looking at the code it looks like you can add JMSTimeToLive as a parameter, i.e: http://localhost:8080/demo/message/abc?type=queue&clientId=myid&JMSTimeToLive=5000 That should set the message expiry for you. On Fri, Sep 10, 2010 at 6:00 PM, ChicagoBob123 wrote: > > I am using http and Rest to s

Queue control. Or message expiration

2010-09-10 Thread ChicagoBob123
I am using http and Rest to send messages up to a queue but I want the messages to expire after a few seconds. (if no one dequeues them in 5 seconds I dont want them hanging around). Can you do that with out writting an application to browse the queue? Is there a setting? Thanks -- View this me

Re: ActiveMQ http how do you protect the admin site?

2010-09-10 Thread Stan Lewis
Here, Dejan has a good blog post about securing the web console: http://www.nighttale.net/activemq/securing-activemq-531-console.html You could set up a reverse HTTP proxy in Apache to forward requests to ActiveMQ, it'd have to be listening on a different port if you're running the broker on the

Re: Checking state of connection to broker in pyactivemq

2010-09-10 Thread Timothy Bish
On Fri, 2010-09-10 at 16:18 +0100, Neil Pritchard wrote: > Hi All, > > I'm using pyactivemq with ActiveMQ-CPP 3.2.2 as both producer and consumer of > messages, which are being brokered by a (Java) ActiveMQ 5.3.2 exchange. > I have three boxes, each performing the same type of tasks. Each box may

multiple ajax clients in the same browser?

2010-09-10 Thread Alex Dean
I have been testing a web page displaying activemq data via the AJAX interface with AMQ 5.4. It works great when I have a single window open. If I open the same page in a new browser window or tab, the new window/tab updates correctly but the previously-open one stops updating. Firebug/Fi

ActiveMQ http how do you protect the admin site?

2010-09-10 Thread ChicagoBob123
I can delete the other sites such as demo,fileserver and camel but how do you limit access to admin using the jetty server? Or change the port so it can only be accessed by as an internal website? One other question is ActiveMQ can work on port 80 as long as there isnt another server on port 80

Checking state of connection to broker in pyactivemq

2010-09-10 Thread Neil Pritchard
Hi All, I'm using pyactivemq with ActiveMQ-CPP 3.2.2 as both producer and consumer of messages, which are being brokered by a (Java) ActiveMQ 5.3.2 exchange. I have three boxes, each performing the same type of tasks. Each box may produce, and consume messages who's payload contain an event trig

Re: Problems with configuring and using ActiveMQ with http

2010-09-10 Thread ChicagoBob123
Dejan, and everyone else THANK YOU. I read this many times but did not understand how to implement it. But after going through it again and again and doing some trial and error I have finally found a combination that works. Let me share some C# code.. This REST protocol really balances things

Re: Can I replace MQSeries simply by ActiveMQ ?

2010-09-10 Thread andrew . marlow
Yes, provided that the code is capable of using either AMQ or MQ. I am working on a project where I am doing this. It is in C++. I use the C++ wrapper for ActiveMQ (activemq-cpp). I also used XMS, which is the IBM C++ wrapper for MQSeries. This allowed me to develop a C++ interface that looked

Re: Virtual Topic doubts

2010-09-10 Thread francesco
Ok: in activemq5.4.0 virtual destinations are not enabled until this lines are inserted in activemq.xml: To post messages, use queue: /topic/VirtualTopic.hellos To read messages, instead: /queue/Consumer.my_client.VirtualTopic.hellos (works also /

Re: 5.4.0 XML Error when I modify activemq.xml (trying for VirtualTopics)

2010-09-10 Thread francesco
Somewhere (http://activemq.apache.org/activemq-540-release.html) it was written that in version 5.4 the alpahbetical ordering of elements inside activemq.xml is significant. Try to move in the correct alphabetical order. regards, Francesco -- View this message in context: http://activemq.228

Can I replace MQSeries simply by ActiveMQ ?

2010-09-10 Thread Ben Stover
Assume a software system which currently uses MQSeries as a MessageBroker with no additional extraordinary features. Can I simply replace such an MQSeries installation by an ActiveMQ MessageBroker? Does anyone have experiences with such a migration? Ben

Re: Consumer is not able to pick messages from queue

2010-09-10 Thread Gary Tully
The named queue concept can be realized in configuration using filtered destination that use selectors. see; http://activemq.apache.org/virtual-destinations.html#VirtualDestinations-Usingfiltereddestinations As the selectors are evaluated at send time there is no limit imposed by sparse matching.

Re: 5.4.0 stops accepting messages randomly

2010-09-10 Thread Dejan Bosanac
Can you turn on debug logging and post logs and thread dumps when the broker hangs. Also, do you see messages in logs about producer flow control being used? Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manni

Re: Problems with configuring and using ActiveMQ with http

2010-09-10 Thread Dejan Bosanac
Hi Bob, Take a look at this: http://activemq.apache.org/rest.html#REST-Consuming the problem is that every GET request you send creates a new consumer. You need to: a) keep session between requests, as explained in the article above b) or, use clientId param in your call, like http://localhost