Re: AMQ4.1.1: External broker drops transport connector for unknown reason

2008-04-17 Thread Rob Davies
ActiveMQ 4.1.3 isn't released - can you move to ActiveMQ 5 ? On 18 Apr 2008, at 01:51, [EMAIL PROTECTED] wrote: I need to download ActiveMQ4.1.3. I do not see 4.1.3 on the download page. I see only 4.1.2. Could someone pl point me to 4.1.3 binaries? Regards /Ur -- Original me

Re: Reducing the size of messages

2008-04-17 Thread Rob Davies
On 18 Apr 2008, at 00:23, tanshul22 wrote: I have been trying to reduce the overhead an activemq message carries. ActiveMQTextMessage {commandId = 0, responseRequired = false, messageId = null, originalDestination = null, originalTransactionId = null, producerId = null, destination = null

Re: What is best practice for creating Producers?

2008-04-17 Thread Rob Davies
On 18 Apr 2008, at 06:26, Aidan wrote: Hi, I am using ActiveMQ 5 and am having an issue with my server (running embedded broker) hitting a deadlock with in MemoryUsage.waitForMemory. I have read the JIRA defects for this, however I have a question about how I am using Producers in ActiveM

Re: TextMessage vs ByteMessage

2008-04-17 Thread Rob Davies
On 17 Apr 2008, at 22:08, Rukus520 wrote: Hi, Let's say I'm sending data in the form of xml. The data being sent is big but certainly not large enough to warrant the use of BlobMessages. Which of the following approaches would be better for performance, and why: - Send the xml as TextM

Re: Kaha persistence issue w/5.1 (upto 4/8 SNAPSHOT)

2008-04-17 Thread Rob Davies
Thanks for letting us know it works! cheers, Rob On 17 Apr 2008, at 18:51, yaussy wrote: Rob, This looks to have done the trick. I've tested with our application, which was hitting the problem every time, and it is fine. Thanks for your attentiveness to this issue! Kevin rajdavies wr

What is best practice for creating Producers?

2008-04-17 Thread Aidan
Hi, I am using ActiveMQ 5 and am having an issue with my server (running embedded broker) hitting a deadlock with in MemoryUsage.waitForMemory. I have read the JIRA defects for this, however I have a question about how I am using Producers in ActiveMQ (the file-system Cursor seems like it would w

Re: Reducing the size of messages

2008-04-17 Thread ttmdev
Re compression; if your producer has not set useCompression to true, then the 'compressed' message property will be set to false when viewed by your consumer. If I'm not mistaken, the default compression algorithm used is the default “DEFLATE” (gzip) algorithm. More on this algorithm can be found

Re: AMQ4.1.1: External broker drops transport connector for unknown reason

2008-04-17 Thread uma_rk
I need to download ActiveMQ4.1.3. I do not see 4.1.3 on the download page. I see only 4.1.2. Could someone pl point me to 4.1.3 binaries? Regards /Ur -- Original message -- From: [EMAIL PROTECTED] > It appears that U am running into the following > problem: >

Re: AMQ4.1.1: External broker drops transport connector for unknown reason

2008-04-17 Thread uma_rk
It appears that U am running into the following problem: https://issues.apache.org/activemq/browse/AMQ-1045 Is there any way to increase the pool size while instantiating AMQ connection factory using Spring? Regards /U -- Original message -- From: [EMAIL

Reducing the size of messages

2008-04-17 Thread tanshul22
I have been trying to reduce the overhead an activemq message carries. ActiveMQTextMessage {commandId = 0, responseRequired = false, messageId = null, originalDestination = null, originalTransactionId = null, producerId = null, destination = null, transactionId = null, expiration = 0, timestamp =

Re: JDBC Database Persistence Question

2008-04-17 Thread Fred D
Hi Brian, For your setup, the AMQ Message store (used by default with AMQ 5+) is probably your best bet. The real benefit for JDBC in Active MQ is that it supports a wide range of platforms that you can utilize if you already have these deployed (reuse your investment). As well you can handle so

TextMessage vs ByteMessage

2008-04-17 Thread Rukus520
Hi, Let's say I'm sending data in the form of xml. The data being sent is big but certainly not large enough to warrant the use of BlobMessages. Which of the following approaches would be better for performance, and why: - Send the xml as TextMessages. - Convert the xml to bytes, and then send t

Re: Kaha persistence issue w/5.1 (upto 4/8 SNAPSHOT)

2008-04-17 Thread yaussy
Rob, This looks to have done the trick. I've tested with our application, which was hitting the problem every time, and it is fine. Thanks for your attentiveness to this issue! Kevin rajdavies wrote: > > Hopefully! > On 16 Apr 2008, at 18:39, yaussy wrote: > >> >> Rob, >> >> So, I would fi

AMQ4.1.1: External broker drops transport connector for unknown reason

2008-04-17 Thread uma_rk
I have two peers A.xxx.com and B.xxx.com connected using external brokers running on each. A and B each have a number of applications that have transport connections to the respective brokers. [clients] <--- tcpConnector ---> [ext Broker A] <=== NetworkConnector ===> {clients] The brokers

Re: Messages delivery to JBoss MDB stopped after an exception

2008-04-17 Thread srouil
Hello, If I look at EJB 2.1 specification, section 18.3.3 it describes behaviour of container in case the bean listener method throws an exception. Here we speak about both checked and un-checked exceptions. Don't you think that it is a bit tough that the whole MDB is killed (does not receive an

Re: [activemq-user] Persistent messages in the database

2008-04-17 Thread tanshul22
I had the same problem. I had a filter to acknowledge the receipt of a message installed as a broker plugin. Just needed to call super.acknowledge() in my filter where i was overwriting the acknowledge and now all messages get consumed of the DB. Yi Huang wrote: > > Hi, > > > > I am using

Re: Persisted messages never get deleted

2008-04-17 Thread tanshul22
I figured it out. I had an acknowledge filter installed as a brokerPlugin. needed to call super.acknowledge() to get the messages off the db. tanshul22 wrote: > > Hi, > > I am using AMQ 5.0 with MySQL to persist my messages. > The messages in my database never get deleted even after they get >

Re: Connection pooling when use the .NET Messaging API (NMS)

2008-04-17 Thread James Strachan
On 17/04/2008, jimmyfrank <[EMAIL PROTECTED]> wrote: > > The application would be either a webservice or an .aspx page a user would > hit. So a user might enter some info on a page with a form and then I'd > need to create all the activemq resources and send the message. Since it's > stateles

Re: Simple brokers A <-> B

2008-04-17 Thread ttmdev
Hola Luiz, Since all you want to do is forward messages from broker A to B, then simply create a forwarding bridge from A to B. Each broker should only have one transportConnector and broker A would have one networkConnector that will be used to create the forwarding bridge to B. You really don't

Re: Connection pooling when use the .NET Messaging API (NMS)

2008-04-17 Thread jimmyfrank
The application would be either a webservice or an .aspx page a user would hit. So a user might enter some info on a page with a form and then I'd need to create all the activemq resources and send the message. Since it's stateless I'd need to be able to have the connections pooled like MSMQ con

Re: Connection pooling when use the .NET Messaging API (NMS)

2008-04-17 Thread jimmyfrank
The application would be either a webservice or an .aspx page a user would hit. So a user might enter some info on a page with a form and then I'd need to create all the activemq resources and send the message. Since it's stateless I'd need to be able to have the connections pooled like MSMQ con

Re: ActiveMQ-5.1.0-RC3 - Messages going missing

2008-04-17 Thread Dhruba Bandopadhyay
Further to this I'd like to add that the broker shows that all 2 messages have been enqueued and dequeued. So the broker queue has no messages remaining on it. On Thu, Apr 17, 2008 at 2:24 PM, Dhruba Bandopadhyay <[EMAIL PROTECTED]> wrote: > Hi, > > Using spring 2.5.3 mdps, tomcat 6.0.16 and

ActiveMQ-5.1.0-RC3 - Messages going missing

2008-04-17 Thread Dhruba Bandopadhyay
Hi, Using spring 2.5.3 mdps, tomcat 6.0.16 and activemq 5.1.0-rc3 with 1 producer, 3 brokers and 1 consumer running 5 threads with almost default broker configuration. Producer and consumer connecting via the following url. failover://(tcp://10.10.32.140:61616,tcp://10.10.32.142:61616,tcp://10.1

Re: How do I get messages to forward without a consumer?

2008-04-17 Thread Rob Davies
Set staticallyIncludedDestinations on the brokerA network configuration - the properties get copied across and used to create the network going back from BrokerB when duplex is enabled cheers, Rob On 17 Apr 2008, at 13:13, jimmyfrank wrote: I don't set up the networkConnectors for Broker

Re: Messages delivery to JBoss MDB stopped after an exception

2008-04-17 Thread Dhruba Bandopadhyay
That's very interesting and good to know for me also. Thanks for making this known Rob. I assume it is okay to throw checked exceptions in general then from consumers without any change in jms behaviour? On Thu, Apr 17, 2008 at 1:44 PM, Rob Davies <[EMAIL PROTECTED]> wrote: > > > On 17 Apr 2008

Re: Messages delivery to JBoss MDB stopped after an exception

2008-04-17 Thread Rob Davies
On 17 Apr 2008, at 09:42, srouil wrote: Hi all, I have configured Active MQ 5.0.0 integration in JBoss AS 4.0.5 according to http://activemq.apache.org/integrating-apache-activemq-with- jboss.html. I modified also jboss.xml deployment descriptor so that my MDB uses "Standard Message Infl

Re: How do I get messages to forward without a consumer?

2008-04-17 Thread jimmyfrank
I don't set up the networkConnectors for Broker B because as I understand it since A connects to B and has duplex=true, I don't need to.So I won't have a place to specify staticallyIncludedDestinations for broker B. Unless I can do that some other way. rajdavies wrote: > > In which case -

Messages delivery to JBoss MDB stopped after an exception

2008-04-17 Thread srouil
Hi all, I have configured Active MQ 5.0.0 integration in JBoss AS 4.0.5 according to http://activemq.apache.org/integrating-apache-activemq-with-jboss.html. I modified also jboss.xml deployment descriptor so that my MDB uses "Standard Message Inflow Driven Bean" container configuration and "mes

Re: Simple brokers A <-> B

2008-04-17 Thread Luiz Gustavo Almeida
Hi. After spending a little bit time, I created two configuration files to my ActiveMQ. My idea is to create two brokers in separated machines, put a message in a queue in brokerA and get this on brokerB. Do I in correct way? Sorry for my poor english. Thank you in advance. Luiz Gusta

Re: How do I get messages to forward without a consumer?

2008-04-17 Thread rajdavies
In which case - I'm guessing you have never registered a consumer on Broker A? So you need to set staticallyIncludedDestinations for your network connector configuration - so that messages get forwarded if a consumer has never registered on brokerA see http://activemq.apache.org/networks-of-broke