Re: Reload Java EIP Rules

2007-11-19 Thread Rob Davies
ActiveMQ 5 requires Java 5 - so this won't be a problem for AgentSmth We just need to override the Smith.redefineClass() method in a derived class to add some eventing to stop the routes and reload the classes cheers, Rob http://open.iona.com/ -Enterprise Open Integration http://rajdavie

Re: ActiveJMS & ActiveMQ

2007-11-19 Thread Greg Griffin
Any updates on making this easier? Am not a .NET guy. Ideally something like typing in an Excel cell: =activemq("FOO.TOPIC","myField") :-) Thanks. sparky2708 wrote: > > Has anyone had any success running ActiveJMS to connect to ActiveMQ? I > gave it a few attempts but haven't had much succe

Re: Reload Java EIP Rules

2007-11-19 Thread Viswanath Durbha
Here's what I read about AgentSmith. 1. It has an implementation of the java.lang.instrument.Instrumentation interface and it also has a file monitor. 2. It has the ability to monitor predefined list of folders for changes to classes. It can also monitor jar files. 3. It needs atleast Java 5 to r

Re: ERROR: SET AUTOCOMMIT TO OFF is no longer supported postgresql 8.1

2007-11-19 Thread kathiravan
kathiravan wrote: > > Hello, > >I am using Postgresql 8.1 with postgresql-8.1-409.jdbc3.jar for > handling jdbcmessagepersistence. > but when i start the broker using the following configuration the > following error occurs > > activemq.xml > > > dataDirectory="../persistenc

Re: ActiveMQ Sending Performance

2007-11-19 Thread andriy_heikal
I've add setUseAsyncSend(true) to connection factory and the performance boost to 2k-4k/sec using my notebook depend on CPU idle. ActiveMQ is very robust. My problem resolved, many thanks for the help. James.Strachan wrote: > > Also if you don't want to block until each message has been writte

Re: High Availability and Load Balancing

2007-11-19 Thread ktecho
I haven't done any performance test by now (besides testing some sending/receiving stuff in my notebook), but you sure can understand that I must provide a Scalability Guide to my customer, so even if I can process "one hundred million messages a second", I need to provide him with a guide just in

Re: Attach Exception to message as its dead lettered?

2007-11-19 Thread James Strachan
On 19/11/2007, James Strachan <[EMAIL PROTECTED]> wrote: > On 19/11/2007, m081072 <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Please can you tell me if its possible to attach to the message the > > exception that caused it to be put in the dead letter queue? What I would > > like to be able to do i

Re: Attach Exception to message as its dead lettered?

2007-11-19 Thread James Strachan
On 19/11/2007, m081072 <[EMAIL PROTECTED]> wrote: > Hi, > > Please can you tell me if its possible to attach to the message the > exception that caused it to be put in the dead letter queue? What I would > like to be able to do is to view the messages in the DLQ and find the root > cause of their

Re: High Availability and Load Balancing

2007-11-19 Thread James Strachan
On 19/11/2007, ktecho <[EMAIL PROTECTED]> wrote: > Something like 860 KB/sec of text encapsulated into JMS messages of about 150 > bytes each one, coming from 42 machines. The problem is that we need to do > some parsing of the messages on the machine, and that the number of clients > could potenti

Re: High Availability and Load Balancing

2007-11-19 Thread ktecho
Something like 860 KB/sec of text encapsulated into JMS messages of about 150 bytes each one, coming from 42 machines. The problem is that we need to do some parsing of the messages on the machine, and that the number of clients could potentially grow. That's why we need some brokers to be Master.

Re: High Availability and Load Balancing

2007-11-19 Thread James Strachan
On 19/11/2007, ktecho <[EMAIL PROTECTED]> wrote: > > We need to receive JMS log messages from several machines. Initially, we're > going to setup 2 machines, but this is expected to grow as the load grows as > well. That's why I cannot use the Master/Slave1/Slave2/Slave3 schema. I need > all the br

Re: High Availability and Load Balancing

2007-11-19 Thread ttmdev
Note that a slave does not have to run on the same machine as its master. ktecho wrote: > > We need to receive JMS log messages from several machines. Initially, > we're going to setup 2 machines, but this is expected to grow as the load > grows as well. That's why I cannot use the Master/Slav

Re: High Availability and Load Balancing

2007-11-19 Thread ttmdev
I can't think of a reason why you couldn't have each of the three be a 'master' w/a corresponding slave. This is the kind of cluster topology I thought you were after. http://www.sonicsoftware.com/products/sonicmq/index.ssp Note in the diagram how the primary brokers in each of the clusters has

Re: High Availability and Load Balancing

2007-11-19 Thread ktecho
We need to receive JMS log messages from several machines. Initially, we're going to setup 2 machines, but this is expected to grow as the load grows as well. That's why I cannot use the Master/Slave1/Slave2/Slave3 schema. I need all the brokers to be up and running, and if one of them fails (the

Re: High Availability and Load Balancing

2007-11-19 Thread James Strachan
Note that "network of brokers" usually means a store and forward network traditionally, which is not a master/slave cluster which is what you probably want. BTW what kind of load do you need? I suspect a single master/slave cluster of brokers is all you need. On 19/11/2007, ktecho <[EMAIL PROTEC

Re: High Availability and Load Balancing

2007-11-19 Thread ktecho
Thanks, Joe. Only a few more questions: Can't I have brokers that are all of them "Master" brokers? I need all of them to be active, but provide a backup for the other brokers. So if I have: - Broker-1 - Broker-2 - Broker-3 All the 3 brokers are active and receiving messages from producers, and

Re: High Availability and Load Balancing

2007-11-19 Thread ttmdev
ActiveMQ gives you this capability via the Pure, Shared File System, or JDBC Master/Slave configurations. These configurations allow you to set up a network of brokers that is comprised of 'master' brokers, where each master is backed up by one or more passive 'slave' brokers. If a master were to

High Availability and Load Balancing

2007-11-19 Thread ktecho
Hi, I have been reading the ActiveMQ documentation but something isn't entirelly clear to me. I need to setup a network of brokers with the following requirements: - I need all of them to be able to attend requests, to provide Load Balancing between all the brokers / servers. - I need that if on

Attach Exception to message as its dead lettered?

2007-11-19 Thread m081072
Hi, Please can you tell me if its possible to attach to the message the exception that caused it to be put in the dead letter queue? What I would like to be able to do is to view the messages in the DLQ and find the root cause of their failures. Thanks, Mike and Davie (I'm pairing not schizophr

Re: Reload Java EIP Rules

2007-11-19 Thread James Strachan
On 19/11/2007, Viswanath Durbha <[EMAIL PROTECTED]> wrote: > > Thanks for the quick response. > > I was looking at both JavaRebel and AgentSmith. JavaRebel seems to have a > very restrictive license agreement which may never fit into the Apache > License of ActiveMQ. > > AgentSmith looks promising

Re: Reload Java EIP Rules

2007-11-19 Thread Viswanath Durbha
Thanks for the quick response. I was looking at both JavaRebel and AgentSmith. JavaRebel seems to have a very restrictive license agreement which may never fit into the Apache License of ActiveMQ. AgentSmith looks promising and it uses Apache License 2.0. I would look into it and see if I can co

Re: Reload Java EIP Rules

2007-11-19 Thread James Strachan
On 19/11/2007, Viswanath Durbha <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using ActiveMQ 5.0 snapshot version that has Camel integrated. I've > defined some Camel EIP routes using Java. I created a jar and dropped it > into the $ACTIVEMQ_HOME/lib folder. All the routes I've defined in there > work

Reload Java EIP Rules

2007-11-19 Thread Viswanath Durbha
Hi, I'm using ActiveMQ 5.0 snapshot version that has Camel integrated. I've defined some Camel EIP routes using Java. I created a jar and dropped it into the $ACTIVEMQ_HOME/lib folder. All the routes I've defined in there work perfectly fine. However, if I want to change any of those routes, can

RE: [BULK] Re: Network of brokers

2007-11-19 Thread hbruch
We had the same problems using AMQ-4.0.2 as well. We were able to reduce them by applying the patch described in https://issues.apache.org/activemq/browse/AMQ-961, which only seems to have been applied to trunk, but not yet to the 4.1.x branch. Regards, Holger Steven Dalton-2 wrote: > > > I'

Re: Message Producer and the Unique ID

2007-11-19 Thread James Strachan
On 19/11/2007, Matthew Wong <[EMAIL PROTECTED]> wrote: > > Hello, > > oops... i'm sorry as i found i've asked an FAQ! :P > > > http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html You can also use Camel as a Spring Remoting implementation which will hide all the JMS

Re: Message Producer and the Unique ID

2007-11-19 Thread Matthew Wong
Hello, oops... i'm sorry as i found i've asked an FAQ! :P http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html -- matt Matthew Wong wrote: > > Hello All, > > my existing webapp works in the following way: > > 1. client send a request t

Re: ActiveMQ Sending Performance

2007-11-19 Thread James Strachan
Also if you don't want to block until each message has been written to disk before sending the next one, you could use async sending which boosts performance a fair bit. For more details see... http://open.iona.com/wiki/display/ProdInfo/FUSE+Message+Broker+Performance+Tuning+Guide On 19/11/2007,

Re: ActiveMQ Sending Performance

2007-11-19 Thread Vinod Venkatraman
Ur sender code looks fine to me, are u sure ur messages are not being persisted by ActiveMQ. Persistence can slow down send considerably. Check ur ActiveMQ config file for persistence. http://activemq.apache.org/persistence.html andriy_heikal wrote: > > Hi Guys, > > I'm newbie on ActiveMQ. I