Re: about BrokerURL

2010-06-23 Thread cjoy
Thanks for your help ! my version is 5.2, I will try again on 5.3/5.4. Thank you very much. regards rajdavies wrote: > > Actually what you are staying is correct - daemon=true would set the > Transport thread to be a daemon thread. This works on 5.4/5.3 > > cheers, > > Rob > > Rob Davies

Re: ActiveMQ Topology Question - possible?

2010-06-23 Thread LaRockstar
Joe Fernandez wrote: > > Why would you need to pass around the static information? The brokers that > comprise your independent branches of the tree will forward messages > through those branches. > Well, if I want to configure my node as a tree structure, yet use a discovery mechanism -- If

Re: broker same or seperate jvm

2010-06-23 Thread Rob Davies
Generally use the same JVM if you want to co-locate with your application/service - and you want the broker to only be available at the same time as your application/service :) cheers, Rob Rob Davies follow me: http://twitter.com/rajdavies I work here: http://fusesource.com My Blog: http://rajd

Re: about BrokerURL

2010-06-23 Thread Rob Davies
Actually what you are staying is correct - daemon=true would set the Transport thread to be a daemon thread. This works on 5.4/5.3 cheers, Rob Rob Davies follow me: http://twitter.com/rajdavies I work here: http://fusesource.com My Blog: http://rajdavies.blogspot.com/ I'm writing this: http://

Can we send and recive Xml Message from aactive MQ using QTP (getting "full head error")

2010-06-23 Thread mchaudhari
Problem1:- 1) I have an automation project in which I am using quick test professional (QTP9.2). 2) It involves passing/receiving xml to/from system through JMS (as some step/s in test case). 3) We are using ActiveMQ as a JMS server. 4) QTP supports VB script, so can it be possible to communicate

Re: Unable to build ActiveMQ code

2010-06-23 Thread codescoder
mvn -version is giving following details: Apache Maven 3.0-beta-1 (r935667; 2010-04-19 22:30:39+0530) Java version: 1.5.0_06 Java home: C:\Sun\AppServer\jdk\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" ---

Try to link MQ server via http proxy,but data format seems is wrong...

2010-06-23 Thread alanchb
I download the CMS source code,and modified the TcpSocket::connect function in TcpSocket.cpp in order to tunnel http proxy.Below is the code I modified or added: void TcpSocket::connect(const char* host, int port, int timeout) throw ( SocketException ) { try{ if( isConnected() ) {

about BrokerURL

2010-06-23 Thread cjoy
I found the url in a project which using ActiveMQ like this : failover:(tcp://localhost:61616?daemon=true,tcp://localhost:61617?daemon=true)?randomize=false what does the "daemon=true" option mean here? I checked the Documment, but did not find the answer. At first I thought that if this optio

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

2010-06-23 Thread alanchb
Got it, thank you! Timothy Bish wrote: > > 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 implementat

REST client authentication

2010-06-23 Thread John Wagenleitner
Working with ActiveMQ 5.3.2 MessageServlet (REST client) and am trying to figure how it supports authentication. Based on the code it doesn't appear to pass any authentication to the connection. I would like to reuse the security already defined in our activemq.xml file for securing topics/queue

default file store location

2010-06-23 Thread fachhoch
I did not onfigure anything for broker, just in my connection configration I specified broker url as vm:localhost in this case activemq should use defualt store , what is the default file store location ? -- View this message in context: http://old.nabble.com/default-file--store-locat

spring datasource

2010-06-23 Thread fachhoch
I configured datasource for my application .can I use the same datsource for activemq persistant factory ? -- View this message in context: http://old.nabble.com/spring-datasource-tp28976687p28976687.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Error while installing activemq-cpp

2010-06-23 Thread manua
Hi Tim, It looks that the error I am getting is mostly from the perl end, not from CMS. I am getting the following error,if I left my consumer producer idle for a long time. I just create a new stomp object and before connecting it back to the broker, left it idle for some time(120 min.), my $s

examples of activemq with spring and oracle

2010-06-23 Thread fachhoch
I am using spring and active mq using the embedded broker.now I want to persists messages in oracle database are there any exmaples for oracle activemq ? -- View this message in context: http://old.nabble.com/examples-of-activemq--with-spring-and-oracle-tp28975528p28975528.html Sent from the Act

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

2010-06-23 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

broker same or seperate jvm

2010-06-23 Thread fachhoch
Please tell me when to use a seperate JVM and when to use a same JVM for my broker ? what is best practice ? -- View this message in context: http://old.nabble.com/broker--same-or-seperate-jvm-tp28974704p28974704.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Starting broker fail under Apache Karaf 1.4.0

2010-06-23 Thread Daoud AbdelMonem Faleh
Hi all, This is my first mail to ActiveMQ users mailing list and my first use of the project, so please bear with me if am asking a dump question or if it has been answered before. I couldn't find anything on the net nor in jira. System informations: karaf info: Karaf Karaf home

Re: ActiveMQ Topology Question - possible?

2010-06-23 Thread Joe Fernandez
LaRockstar wrote: > > > Hi Joe, > > Thanks for you answer ... > > > Joe Fernandez wrote: >> >> If you use the discovery agent across all your brokers, the result will >> be a full mesh, and not tree, topology. In other words, all the brokers >> will be interconnected. >> > > Ok, so I gu

Re: Re-Start required when changing activemq.xml or camel.xml ? Auto-restart possible?

2010-06-23 Thread Sebastian Rodriguez
Hi, If changes are done in the xml files (activemq.xml and / or camel.xml), a restart of the service will be necessary. As far as I know, if ActiveMq is installed as a windows service, there is no command line to restart a service, although you can stop and start it with the following commands: "n

web console for embedded activeMQ

2010-06-23 Thread fachhoch
here is my spring configration for ActiveMQ [CODE] [/CODE] please tell me how to access the web console for this JMS provider -- View this message in context: http://old.nabble.com/web-console-for-embedded-activeMQ-tp28972823p28972823.html Sent from the Ac

Re: ActiveMQ Topology Question - possible?

2010-06-23 Thread LaRockstar
Hi Joe, Thanks for you answer ... Joe Fernandez wrote: > > If you use the discovery agent across all your brokers, the result will be > a full mesh, and not tree, topology. In other words, all the brokers will > be interconnected. > Ok, so I guess that I have to rely on a static configurat

Re: Problem subscribing to a topic after machine wakes from sleeping

2010-06-23 Thread Gary Tully
thanks for posting back to close the loop :-) On 23 June 2010 14:08, huntc wrote: > > Turns out that this is a Spring 2.5.6 issue and that one has to upgrade to > Spring 3 to resolve it. Please see the discussion on the Camel forum for > more information: > > > http://camel.465427.n5.nabble.com/

Differences between AMQ 4.1.1 and 5.3.2

2010-06-23 Thread Stephen Nabres
Hi everyone, I have a client who's using ActiveMQ 4.1.1 but they're thinging of migrating to the latest ActiveMQ version. I'd like to be able to explain to them the clear advantages of 5.x over 4.x but I don't have enough experience with ActiveMQ to be able to point those out. Could anyone plea

Re-Start required when changing activemq.xml or camel.xml ? Auto-restart possible?

2010-06-23 Thread BenXS
Assume I have started ActiveMQ successfully. Now I change either activemq.xml or camel.xml Is it required to restart ActiveMQ in order let the changes become effective? Or does ActiveMQ detect automatically changes in its config files and load them automatically during run? If manually restart i

Re: ActiveMQ Topology Question - possible?

2010-06-23 Thread Joe Fernandez
If you use the discovery agent across all your brokers, the result will be a full mesh, and not tree, topology. In other words, all the brokers will be interconnected. You do not have to explicitly create the queues at the brokers. They will be dynamically created on-demand. Joe http://www.ttm

Re: Problem subscribing to a topic after machine wakes from sleeping

2010-06-23 Thread huntc
Turns out that this is a Spring 2.5.6 issue and that one has to upgrade to Spring 3 to resolve it. Please see the discussion on the Camel forum for more information: http://camel.465427.n5.nabble.com/Problem-with-maintaining-a-JMS-subscription-after-waking-from-sleep-td510193.html -- View this m

Re: How to automatically COPY incoming JMS msgs into second queue? Camel "Wiretap" does not work?

2010-06-23 Thread Joe Fernandez
There is the recipient pattern and mirrored queues. http://camel.apache.org/recipient-list.html http://activemq.apache.org/mirrored-queues.html Joe http://www.ttmsolutions.com ActiveMQ Ref Guide - http://bit.ly/AMQRefGuide BenXS wrote: > > I defined the following for camel in an ActiveMQ

Re: Unable to build ActiveMQ code

2010-06-23 Thread Gary Tully
there is a problem with the pom for ftpserver, such that its transitive dependencies are not pulled in. mvn -X should point you to the problem property... There is some detail in https://issues.apache.org/jira/browse/FTPSERVER-368that is fixes but pending a release. You can make the manual mods t

Unable to build ActiveMQ code

2010-06-23 Thread codescoder
Hi there, i am trying to build the activemq code in my local machine,i have installed svn and mvn (both are working fine) i went to acivemq directory and given command " export MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=128M mvn -Dtest=false install" its failing in ActiveMQ :: Core and i am getting error

How to automatically COPY incoming JMS msgs into second queue? Camel "Wiretap" does not work?

2010-06-23 Thread BenXS
I defined the following for camel in an ActiveMQ installation: Every incoming JMS msg should simply be duplicated. The dupe should be put in another queue called "dupequeue". The original jms msg should remain in the input queue for later retrieval (by other java progra

ActiveMQ Topology Question - possible?

2010-06-23 Thread LaRockstar
Hi there, I'm considering a distributed system of loosely coupled nodes organized in a tree structure of depth 2 or 3 (including the root). I'm considering using ActiveMQ/JMS as means of communicating between the tree nodes. Within the tree the communication pattern between the nodes is as foll

Re: sender side manual load balancing

2010-06-23 Thread bacevt
Hello Joe, Thank you for your reply, this is just what I needed. Best regards, bacevt Joe Fernandez wrote: > > If you want the brokers to be independent of one another (i.e., they're > not interconnected), then don't include networkConnectors (forwarding > bridges) in their configurations.

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

2010-06-23 Thread Sodan
I can get the 3.2 to compile and link, but it does not work. As Tim mentioned earlier something is wrong with the class, so unmarshall crashes... anyway, I need to get on with my project, so will use 3.1.3 until a proper project is uploaded. cu Søren andrew.marlow wrote: > > IMHO this goes to

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

2010-06-23 Thread andrew . marlow
IMHO this goes to show the benefit of using MPC (MakeProjectCreator) which will allow the version of Visual Studio to be selected at the flick of a switch. I need VS 2005 (aka vc8) which does not seem to be in the svn repo any more, looking at the 3.2.x branch. I have just started work on crea

Re: Temporary queues and a WAN

2010-06-23 Thread andrew . marlow
Thanks for those clarifying comments. The answer is "yes, I can afford to lose a reply.". There comes a point where the client will give up and then it does not matter if the server completes the work or not. The work done by the server is idempotent. So it does not matter if it is asked to do i

Re: shutdown only the embeded jetty webserver

2010-06-23 Thread sic
Thank you for helpful answer, I'll try to register Jetty in jmx after reading that documents intensively. Dejan Bosanac wrote: > > 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