Re: WAN performance

2008-05-28 Thread Rob Davies
On 29 May 2008, at 01:25, Vincent Poon wrote: I have a setup where many clients need to connect to many brokers over a WAN and consume messages off the queues on these brokers. What performance considerations should I keep in mind , given that this will be over a WAN? I've read about ne

Re: Why producer to a queue or durable topic consumes a lot of CPU?

2008-05-28 Thread Rob Davies
On 29 May 2008, at 00:57, janylj wrote: I had a single broker, which uses the default configuration. Then I had a Producer sending messages to a queue and a Consumer reading from the queue. At this time, the CPU usage on the broker is about 60%-70%. Because the broker is on a box with 2

Re: VM transport not using pass-by-reference

2008-05-28 Thread Ryan Stewart
Hi Rob. I call connection.setCopyMessageOnSend(false) on the producer and consumer connection objects, and yes, the producer and consumers all use the vm transport. See my second post in this thread for sample code demonstrating the problem. (Actually, I just noticed that in that code I have "cop

Re: jndi with ssl

2008-05-28 Thread sudip shrestha
Done... Also, looks like we need to look into the ActiveMQInitialContextFactory class, so that we can retrieve ActiveMQSslConnectionFactory via JNDI On Wed, May 28, 2008 at 5:57 PM, Rob Davies <[EMAIL PROTECTED]> wrote: > Sudip, > > could you add the Apache 2.0 licence to the ActiveMQSslConne

WAN performance

2008-05-28 Thread Vincent Poon
I have a setup where many clients need to connect to many brokers over a WAN and consume messages off the queues on these brokers. What performance considerations should I keep in mind , given that this will be over a WAN? I've read about network of brokers - how exactly does that improve the WA

Why producer to a queue or durable topic consumes a lot of CPU?

2008-05-28 Thread janylj
I had a single broker, which uses the default configuration. Then I had a Producer sending messages to a queue and a Consumer reading from the queue. At this time, the CPU usage on the broker is about 60%-70%. Because the broker is on a box with 2 Xeon processes each @ 1.86GHz, each processor has

Re: jndi with ssl

2008-05-28 Thread Rob Davies
Sudip, could you add the Apache 2.0 licence to the ActiveMQSslConnectionFactoryx and re-attach it - ticking the ASF granted licence? Will probably incorporate your enhancement into the ActiveMQSslConnectionFactory class though cheers, Rob http://open.iona.com/products/enterprise-active

Re: VM transport not using pass-by-reference

2008-05-28 Thread Rob Davies
Hi Ryan, how are you setting copyMessageOnSend - and are the consumers using vm://transport too ? cheers, Rob http://open.iona.com/products/enterprise-activemq http://rajdavies.blogspot.com/ On 23 May 2008, at 23:32, Ryan Stewart wrote: I'm trying to use an embedded ActiveMQ instance

Re: SlowConsumerHandling - Spooling to Disk

2008-05-28 Thread Rob Davies
On 28 May 2008, at 22:53, ProInd wrote: Hi I am using the activeMQ 5.1 . Can any one please provide the URL or any kind of piece of info which can help me in configuring the slowconsumerHandling - Spooling to disk. I did read about the slow consumer handling from the following link. htt

Re: jndi with ssl

2008-05-28 Thread Rob Davies
Great thx Sudip!! On 28 May 2008, at 21:25, sudip shrestha wrote: have created JIRA for this: https://issues.apache.org/activemq/browse/AMQ-1754. Thanks, Sudip On Wed, May 28, 2008 at 2:54 PM, sudip shrestha <[EMAIL PROTECTED]> wrote: I have created a class org.apache.activemq.ActiveMQSs

SlowConsumerHandling - Spooling to Disk

2008-05-28 Thread ProInd
Hi I am using the activeMQ 5.1 . Can any one please provide the URL or any kind of piece of info which can help me in configuring the slowconsumerHandling - Spooling to disk. I did read about the slow consumer handling from the following link. http://activemq.apache.org/slow-consumer-handling.

Re: jndi with ssl

2008-05-28 Thread sudip shrestha
have created JIRA for this: https://issues.apache.org/activemq/browse/AMQ-1754. Thanks, Sudip On Wed, May 28, 2008 at 2:54 PM, sudip shrestha <[EMAIL PROTECTED]> wrote: > I have created a class org.apache.activemq.ActiveMQSslConnectionFactoryx () > that extends org.apache.activemq.ActiveMQSslConn

Re: VM transport not using pass-by-reference

2008-05-28 Thread Ryan Stewart
Ryan Stewart wrote: > > I'm trying to use an embedded ActiveMQ instance for some lightweight > message handling... > *bump* Anyone? -- View this message in context: http://www.nabble.com/VM-transport-not-using-pass-by-reference-tp17442075s2354p17520875.html Sent from the ActiveMQ - User mai

Re: jndi with ssl

2008-05-28 Thread sudip shrestha
I have created a class org.apache.activemq.ActiveMQSslConnectionFactoryx () that extends org.apache.activemq.ActiveMQSslConnectionFactory which provides a constructor public ActiveMQSslConnectionFactoryx(String keyStore, String keyStorePassword, String trustStore) so that you can provide the keySto

Sending message to password protected queue via JMX?

2008-05-28 Thread Jeremy Ross
Hi. I'm using the authorizationPlugin to protect access to a queue. Is it possible to authenticate and send a message to this queue using jconsole? I don't see away to provide the credentials. thanks Jeremy -- View this message in context: http://www.nabble.com/Sending-message-to-password-p

Re: Proof of Concept

2008-05-28 Thread Swampcritter
I guess I am not making myself clear, so I will post the question in another way... As the system administrator for our infrastructure, we currently have a legacy application called 'Fileman' that is a C/C++ program that runs on multiple servers and communicates with other Fileman instances by op

Re: Messages dont get redelivered till broker restart - expected behaviour?

2008-05-28 Thread ruben.martin
We have the same problem with 5.1. Out of some 100 object messages produced, 4 messagges are left (actually leaped because they are generated in the middle). When we restart the broker then the massages are read. The reader in configured with spring. The onMessage method is marked as transaction

Re: Problem in Configuring JBoss 4.2 with external ActiveMQ 5.1

2008-05-28 Thread ttmdev
Here's some good info. http://activemq.apache.org/integrating-apache-activemq-with-jboss.html Joe Hema Natarajan wrote: > > Hi, > I am looking for the steps to configure JBoss with external ActiveMQ. > Please provide us. > > We tried the following and it gave the exception as follows.

Re: problem with using openwire-cpp consumer

2008-05-28 Thread Timothy Bish
The Openwire-cpp client is rather old an is as far as I know no longer maintained. You might want to try using ActiveMQ-CPP which can be found here: http://activemq.apache.org/cms/ Regards Tim. On Wed, 2008-05-28 at 02:04 -0700, samadhi wrote: > I write a consumer and a producer to test the use

Re: Messages dont get redelivered till broker restart - expected behaviour?

2008-05-28 Thread Subrata1208
our requirement is for text meesage. We dont have nany problem switching to other type of message. and one more thing it working for tcp type of connection not for http. Thanks Subrata -- View this message in context: http://www.nabble.com/Messages-dont-get-redelivered-till-broker-restart--

Re: Messages dont get redelivered till broker restart - expected behaviour?

2008-05-28 Thread Rob Davies
On 28 May 2008, at 10:53, Subrata1208 wrote: i am using activemq 5.1 i am also getting the same problem. This is how i am creating factory and connection connFactory = new ActiveMQConnectionFactory(url); ActiveMQPrefetchPolicy po = new Active

Re: Messages dont get redelivered till broker restart - expected behaviour?

2008-05-28 Thread Subrata1208
i am using activemq 5.1 i am also getting the same problem. This is how i am creating factory and connection connFactory = new ActiveMQConnectionFactory(url); ActiveMQPrefetchPolicy po = new ActiveMQPrefetchPolicy();

problem with using openwire-cpp consumer

2008-05-28 Thread samadhi
I write a consumer and a producer to test the use of activemq. I use the consumer to receive messages asynchronously, if I first run the consumer and then run the producer, it works well, all messages are successfully sent and received. But, if I first run the producer then run the consumer, th