Re: shutdown only the embeded jetty webserver

2010-06-22 Thread Dejan Bosanac
Hi, this is no possible at the moment. You'd need to register Jetty jmx ( http://wiki.eclipse.org/Jetty/Tutorial/JMX) so you can have more control over it. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning

Failover and updateClusterClients

2010-06-22 Thread Mark White
I'm a newbie at this, so please excuse any limitations in my understanding. We're looking at a load-balanced network of brokers with failover, using a fixed list of URIs with 4 servers (A - D). We'll be using a common config across brokers (except broker name). A JWS client will be used. Client:

shutdown only the embeded jetty webserver

2010-06-22 Thread sic
Hi I'm using serveral type of messages such as Text, Object and especially Blob message. I have known Active MQ embeds jetty webserver for implementing blob messages. Then I sometimes want to shutdown only jetty webserver embeded for blob messages while the broker works normally. That's becau

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Timothy Bish
On Tue, 2010-06-22 at 14:06 -0700, Sodan wrote: > yes, converted to 2010. Compiles with no warnings or anything, but I did > change the V6 part, to be like V5, V4 etc... The 3.1.3 project worked fine. > > But look at the 3.2 2008 project. v2, v3,v4,v5 has special settings for the > ccp files, v6 h

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Sodan
yes, converted to 2010. Compiles with no warnings or anything, but I did change the V6 part, to be like V5, V4 etc... The 3.1.3 project worked fine. But look at the 3.2 2008 project. v2, v3,v4,v5 has special settings for the ccp files, v6 has not ? Søren Timothy Bish wrote: > > On Tue, 2010-

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Timothy Bish
On Tue, 2010-06-22 at 13:47 -0700, Sodan wrote: > it does compile fine now... > > but giving strange errors... in the marshall code... something aint right... > > the project for 2008 is not working... can someone fix it..? > > Søren > Are you compiling in VS2008 or converting the project to V

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Sodan
it does compile fine now... but giving strange errors... in the marshall code... something aint right... the project for 2008 is not working... can someone fix it..? Søren -- View this message in context: http://old.nabble.com/activemq-cpp-3.2.0-vs2005-build-directory-is-missing-tp28946553p2

Re: Temporary queues and a WAN

2010-06-22 Thread Gary Tully
The choice of tempQ vs replyQ comes down to the need for a durable reply which can help with idempotency. In the case of a tempq and your rcvd table (the failover transport has just such a table internally btw), on the resend there will be no indication of a potential previous reply as the tempQ wi

HTTP 204 when consuming messages via REST servlet

2010-06-22 Thread lokem
Hi folks, I'm using MessageServlet in ActiveMQ 5.3.1's demo webapp. Placing a message via POST works fine. However, when consuming it via GET or DELETE, the servlet returns either a HTTP 200 OK with the proper message or HTTP 204 No Content. I've tried adding the parameter value "consumer.pref

Re: Temporary queues and a WAN

2010-06-22 Thread andrew . marlow
I am aware of the fact that when using temp Qs the data goes away when the connection is lost. I cope with this with some extra logic on the client side. It remembers each request via a table. Entries are removed from this table when replies are rcvd. When the connection is lost a reconnect is

Re: Temporary queues and a WAN

2010-06-22 Thread Ivan Pechorin
2010/6/22 : > As per the advice at > http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html > I am using temporary Qs for my replies. > ... > > Because of various technical obstacles that I wont go into here, I am only > able to run with ActiveMQ locally. ActiveMQ is fine

Re: Error while installing activemq-cpp

2010-06-22 Thread Timothy Bish
On Tue, 2010-06-22 at 07:46 -0700, manua wrote: > Thanks Tim! > > I am able to made it work. It needed openssl-devel. > > Now, its working fine, but I have issue with temp queue > subscription/consumer. Does temporary queue ever time outs. Please let me > know your views. > Can you elaborate on

Re: Error while installing activemq-cpp

2010-06-22 Thread manua
Thanks Tim! I am able to made it work. It needed openssl-devel. Now, its working fine, but I have issue with temp queue subscription/consumer. Does temporary queue ever time outs. Please let me know your views. Thanks, Manu Timothy Bish wrote: > > On Mon, 2010-06-21 at 09:02 -0700, manua wro

Re: Delete Topic Programmatically?

2010-06-22 Thread Gary Tully
For some use of JMX from java, have a look at the source of the activemq console: http://svn.apache.org/viewvc/activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/ListCommand.java?view=markup See the end of this article http://pavelgolubeff.ya.ru/replies.xml?item_no=1

Re: Does a timeout exist for Consumers?

2010-06-22 Thread Gary Tully
I think it would be worth spending the time on a pure activemq/jms tests case, if there is a bug that will be necessary in any event. It will help tie down the use case and isolate the problem area. For a start, can you open a jira issue and attach some of the exceptions or errors or results that y

Temporary queues and a WAN

2010-06-22 Thread andrew . marlow
As per the advice at http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html I am using temporary Qs for my replies. But I think there is a problem. I am programming to an abstract interface of mine that I designed so that I can switch between activeMQ-cpp and IBM MQSe

Re: Does a timeout exist for Consumers?

2010-06-22 Thread Luis Matos
Gary, it would take me a while to learn how to do a decent and lean Junit test case that runs on servicemix so that I could make the exact test case that happens to me. Alternatively, I can send you a Vmware virtual machine with the whole thing there ready to work, including sources, environment t

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Sodan
If I use the project from the repos, I now get: 1>Debug\activemq-cpp\activemq-cpp\ActiveMQBlobMessageMarshaller.obj : warning LNK4042: object specified more than once; extras ignored 1>Debug\activemq-cpp\activemq-cpp\ActiveMQBytesMessageMarshaller.obj : warning LNK4042: object specified more than

Re: Delete Topic Programmatically?

2010-06-22 Thread mevikasg
Hi, I am also trying to achieve the same(Delete a queue & stand alone activemq). If you have resolved it then please share your code with me. Thanks alot in advance. -Vikas samahome wrote: > > Could you give some example on how to connect to the MBean Server and get > the broker MBesan i

Re: Is it possible to use http/https protocol with NMS or CMS?

2010-06-22 Thread Timothy Bish
On Mon, 2010-06-21 at 19:53 -0700, alanchb wrote: > Thanks a lot for any help! Currently neither client supports an HTTP or HTTPS based transport, if you like to contribute to the project you could take a look at the Java client's implementation and try to port that to something workable for the C

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Timothy Bish
On Tue, 2010-06-22 at 04:51 -0700, Sodan wrote: > for now... what is the immediate solution to the problem below ? > (everything else seems to compile and work just fine) > > activemq\ResourceLifecycleManager.obj : warning LNK4042: object specified > more than once > activemq\src\main\activemq\cm

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Sodan
I did my own project some time ago with visual studio 2010. Works fine. :-) Søren Timothy Bish wrote: > > On Tue, 2010-06-22 at 12:03 +0100, andrew.mar...@uk.bnpparibas.com > wrote: >> I don't understand how peole are building with Visual Studio given that >> the project/solution files are m

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Sodan
for now... what is the immediate solution to the problem below ? (everything else seems to compile and work just fine) activemq\ResourceLifecycleManager.obj : warning LNK4042: object specified more than once activemq\src\main\activemq\cmsutil\ResourceLifecycleManager.cpp and activemq\src\main\

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Timothy Bish
On Tue, 2010-06-22 at 12:03 +0100, andrew.mar...@uk.bnpparibas.com wrote: > I don't understand how peole are building with Visual Studio given that > the project/solution files are missing. Can someone explain please? > > Regards, Yes, the studio projects didn't get bundled into the release arch

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread andrew . marlow
I don't understand how peole are building with Visual Studio given that the project/solution files are missing. Can someone explain please? Regards, Andrew Marlow Internet tabish...@gmail.com 22/06/2010 11:20 Please respond to users@activemq.apache.org To users@activemq.apache.org cc Sub

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Timothy Bish
On Tue, 2010-06-22 at 02:57 -0700, Sodan wrote: > I also get this: > > activemq\ResourceLifecycleManager.obj : warning LNK4042: object specified > more than once > > it seems the are two files with the same name... a conflict ? > > activemq\src\main\activemq\cmsutil\ResourceLifecycleManager.cpp

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-22 Thread Sodan
I also get this: activemq\ResourceLifecycleManager.obj : warning LNK4042: object specified more than once it seems the are two files with the same name... a conflict ? activemq\src\main\activemq\cmsutil\ResourceLifecycleManager.cpp and activemq\src\main\decaf\internal\util\ResourceLifecycleMana

Re: ActiveMQ ignoring persistent=false

2010-06-22 Thread Rob Davies
that looks like a bug that has crept back in - its created - but no data should be put in that directory cheers, Rob On 22 Jun 2010, at 08:25, paul.mckenzie wrote: > > I am using Active MQ (5.3.2) for integration testing my application. I have > defined an active-mq broker in a spring config

ActiveMQ ignoring persistent=false

2010-06-22 Thread paul.mckenzie
I am using Active MQ (5.3.2) for integration testing my application. I have defined an active-mq broker in a spring config like so: