Re: Managing default persistence data?

2009-11-25 Thread capriipriya
I have a similar issue with ActiveMQ Broker.I use a jms queue in my project that uses activemq broker.I see that the activemq-data directory becomes huge when there are a log of requests going in into the queue.The requests are read from the queue and sent to a destination.I want the entries to be

XML over JMS test using jmater

2009-11-25 Thread monikasachdev3
hi, i want to confirm that can we send XML request over JMS using Jmeter for load testing? if yes which sampler we need to choose? -- View this message in context: http://old.nabble.com/XML-over-JMS-test-using-jmater-tp26524516p26524516.html Sent from the ActiveMQ - User mailing list archive at

Re: Best implementation for reply-request

2009-11-25 Thread Rob Davies
there could well be an improvement using nio. Also - it it possible to move to version 5.3 - which is generally a lot more stable. Btw - you didn't mention if you were having performance problems ? cheers, Rob On 25 Nov 2009, at 19:55, Andres Rangel wrote: Bruce thanks for your reply. The co

RE: Best implementation for reply-request

2009-11-25 Thread Andres Rangel
Bruce thanks for your reply. The consumers create the temporary queue only once, and they are cached in a pool for subsequent usage. We are using tcp connection. If we move to nio connection, will there be any noticeable improvement? -Original Message- From: Bruce Snyder [mailto:bruce.sn

Re: Creating message from byte[]

2009-11-25 Thread Timothy Bish
On Wed, 2009-11-25 at 09:12 -0800, jhakim wrote: > Thanks Tim. We are using ICSharpCode > (http://www.icsharpcode.net/OpenSource/SharpZipLib/) for end-to-end > compression between C#/Java clients using TIBCO EMS. > > In any case, does the native ActiveMQ compression provide end-to-end > compressi

Re: Best implementation for reply-request

2009-11-25 Thread Bruce Snyder
On Wed, Nov 25, 2009 at 10:34 AM, Andres Rangel wrote: > Hi, > > We have currently running apache activemq 5.2 in a network of brokers > > > > It has close to 1500 producers and 1200 consumers. > > This producers have  each one a temporary queue so that will be 1500 > temp queues in the system. >

Best implementation for reply-request

2009-11-25 Thread Andres Rangel
Hi, We have currently running apache activemq 5.2 in a network of brokers It has close to 1500 producers and 1200 consumers. This producers have each one a temporary queue so that will be 1500 temp queues in the system. The reply-request is implemented using temporary queues. I wo

Re: xa jta activemq jboss

2009-11-25 Thread Gary Tully
is the problem that the ActiveMQInitialContextFactory returns a regular connection factory rather than an XA capable one. You may want to extend the ActiveMQInitialContextFactory to override the createConnectionFactory() method to return an XA variant or see if you can explicitly provide the connec

Re: Creating message from byte[]

2009-11-25 Thread jhakim
Thanks Tim. We are using ICSharpCode (http://www.icsharpcode.net/OpenSource/SharpZipLib/) for end-to-end compression between C#/Java clients using TIBCO EMS. In any case, does the native ActiveMQ compression provide end-to-end compression between C#/Java clients? If not, how do we get C#/Java cl

xa jta activemq jboss

2009-11-25 Thread miten
Hi, I am able to get things to work without global transaction. With JBOSS I am getting "javax.jms.JMSException: Session's XAResource has not been enlisted in a distributed transaction." using the spring config as below: = org.apache.acti

Re: Active Consumers on TCP x HTTP

2009-11-25 Thread Uday Subbarayan
I am also in a similar situation...I need a HTTP producer but can't get it work yet! Uday. - I do not blog but e-write: http://uds-web.blogspot.com --- On Wed, 11/25/09, jfaerman wrote: From: jfaerman Subject: Active Consumers on TCP x HTTP To: users@activemq.apache

Re: URI for Queue

2009-11-25 Thread Uday Subbarayan
Hi Dejan,     This is also NOT working.(getting 404 resource not found) I am NOT using a servlet as a client. It's a POJO as a client to MQ. I am still trying to find the URI for the Queue! Thanks, Uday. - I do not blog but e-write: http://uds-web.blogspot.com --- On

Re: How do I do this: "configure AMQ to listen on the outbound network"

2009-11-25 Thread Gary Tully
one thought, are you using the wildcard address in the transport connector url: "tcp://0.0.0.0:61616" to listen on all interfaces? 2009/11/25 gliesian > > How do I do this: "configure AMQ to listen on the outbound network" > > Reference: > > http://mail-archives.apache.org/mod_mbox/activemq-user

Re: How to "activate" an interceptor

2009-11-25 Thread Bruce Snyder
On Wed, Nov 25, 2009 at 8:19 AM, moreno9000 wrote: > > Now everything works! > Thank you Gary (and bsnyder too) ! > > This was the final configuration. > > Client Side > -- > In java code I use ActiveMQConnectionFactory > (previously, I used "generic" JMS ConnectionFactory) in order > to c

Re: ActiveMQ 5.3.1-SNAPSHOT daily builds available

2009-11-25 Thread Gary Tully
btw: what sort of 'failure' do u experience trying to build from source? would be good to get to the bottom of that and reflect your experience in the wiki. 2009/11/25 Fredrik Jonson > Hi all, > > For those interested in trying out the coming stable bugfix release > there is a daily build availa

JMSException - Reason: java.net.ConnectException: Connection refused: connect

2009-11-25 Thread gliesian
Hi... I could use a little help. My servicemix client works locally but not remotely. Here's the code: ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory(user, password, url); Connection connection = connectionFactory.createConnection(); INFO - Caugh

How do I do this: "configure AMQ to listen on the outbound network"

2009-11-25 Thread gliesian
How do I do this: "configure AMQ to listen on the outbound network" Reference: http://mail-archives.apache.org/mod_mbox/activemq-users/200906.mbox/%3c23839150.p...@talk.nabble.com%3e -- View this message in context: http://old.nabble.com/How-do-I-do-this%3A-%22configure-AMQ-to-listen-on-the-out

Re: How to "activate" an interceptor

2009-11-25 Thread moreno9000
Now everything works! Thank you Gary (and bsnyder too) ! This was the final configuration. Client Side -- In java code I use ActiveMQConnectionFactory (previously, I used "generic" JMS ConnectionFactory) in order to call connectionFactory.setAlwaysSyncSend(true) method. In jndi.propert

ActiveMQ 5.3.1-SNAPSHOT daily builds available

2009-11-25 Thread Fredrik Jonson
Hi all, For those interested in trying out the coming stable bugfix release there is a daily build available here: https://repository.apache.org/content/repositories/snapshots/org/ apache/activemq/apache-activemq/5.3.1-SNAPSHOT/ Maybe you all already knew that, but I've missed it completely and

Active Consumers on TCP x HTTP

2009-11-25 Thread jfaerman
Hello, I need a queue with HTTP consumers. My problem is that when the JVM dies, the consumer remains active (i can see them active in the web console), thus preventing the new consumer from receiving messages. If i use TCP instead of HTTP, the dead consumers are inactivated correctly and everyth

Re: Can embedded amq brokers (in Tomcat) form Master/Slave topology?

2009-11-25 Thread ksun
Hi Dejan, Thanks for your quick response! What I want to achieve is we need to have messages HA (at any time only one ActiveMQ is active) and also all topics, queues and messages can be replicated among AMQs. As I know, network of brokers doesn't provide message replication function. Also I am

Re: Can embedded amq brokers (in Tomcat) form Master/Slave topology?

2009-11-25 Thread Dejan Bosanac
Hi Kevin, the first question is what you want to achieve, In Master/Slave configuration only one broker (master) is active and others wait for it to fail so another master is chosen. See http://activemq.apache.org/masterslave.html for more info. In network of brokers configuration, all brokers a

Re: Deadlock in NMS/ActiveMQ

2009-11-25 Thread Timothy Bish
On Tue, 2009-11-24 at 17:26 -0800, Ted C. wrote: > Tim -- > > Thanks. It looks like this was an issue with 1.1 but is fixed in trunk. Is > there any indication when the next release will be? > Glad the hear that its working. The next release is in progress, you should see a release candidate

Can embedded amq brokers (in Tomcat) form Master/Slave topology?

2009-11-25 Thread ksun
Hi all, I will embed ActiveMQ5.X in Tomcat6. When Tomcat starts up the embedded ActiveMQ will start up too. I will use several Tomcat instances to form a clustering. Every Tomcat instance will have one embedded ActiveMQ. I want all the embedded ActiveMQ brokers to form into Master/Slave topology

Re: How to "activate" an interceptor

2009-11-25 Thread Gary Tully
so using sync send (alwaysSyncSend=true) on the connection factory, and Usage.sendFailIfNoSpace in your config is what you need here. This should work and should be deterministic. If this is not the case, can you open a jira issue and attach your test case and we can get to the bottom of this. When

Re: How to "activate" an interceptor

2009-11-25 Thread moreno9000
Yes, it's like producer flow control. In 5.3 I tried to use prod.f.c. but client side I received an exception only using an async listener (what I need is a sync notification when queue is full). Your last sentence ("You'll need to do much more than just a BrokerFilter to achieve this behavior"

Re: URI for Queue

2009-11-25 Thread Dejan Bosanac
Hi Uday, it all depends how you configure your servlet. In the demo app, distributed with the ActiveMQ, it is configured to listen to "messages/*" path, so the full path to your queue would be http://host:port/demo/messages/myqueue Regarding security, you can secure it like any other web app. I