Re: Prefetch=0 how to?

2009-02-17 Thread hackingbear
Thanks, I haven't get arround to try this but my test differs from two aspects: 1) I use dedicate session for each consumer 2) I receive from only one consumer twice. There is no problem receiving from two consumers. But when receiving from one consumer twice, the second time blocks forever. So

Re: How to specify SSL Ciphers

2009-02-17 Thread ihanslee
does anyone get an answer to this? much Thanks in advance. Thanks, Hans mrh wrote: > > According to JSSE, it is possible to specify cipher suites in the > SSLSocket class: > > http://java.sun.com/j2se/1.5.0/docs/api/javax/net/ssl/SSLSocket.html > > Is it possible in the ActiveMQConnectio

Limit the number of Queues/Topics on a broker

2009-02-17 Thread yesnid
Hello All, Is there a way to limit the number of Queues/Topics that my broker will allow? Also is there a way to configure this from the xml config file? E.g. I want to force my broker to stop creating queues when there are 500 queues. Thank you. -- View this message in context: http://www.na

How to integrate a long running task using Camel

2009-02-17 Thread mwc%
Hi, I have a Camel component that is long running (up to 2 minutes), and the request/respond is done via a pair ActiveMQ queues. Is there a way with Camel to wait for the completion of the long running task before replying without using a blocking thread? The simple solution is to let the thread

Re: STOMP - transacted session

2009-02-17 Thread freetwix
hey dejan, thats good news, thankx for the fixes. greets, jochen -- View this message in context: http://www.nabble.com/STOMP---transacted-session-tp22011259p22066145.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMQ 5 and jgroups

2009-02-17 Thread Jai_M
Hi, I am trying to integrate activemq 5 and jgroups. My config file looks like below. I want to configure broker clustering using multicast and so I decided to use jgroups. However, I am always getting the following

Correctly leaving a network of broker

2009-02-17 Thread Eric-AWL
Hi I have two Java processes with their own embedded broker, linked together with a multicast network of broker. I start the "server process" which first creates its broker and connects itself to it. Then, I start the "client process" which first creates its broker, and connects itself to it.

Re: Messages rollback

2009-02-17 Thread Roger Hoover
Do you know what the approximate overhead is for using a transaction for each message received? On Tue, Feb 17, 2009 at 1:40 AM, Dejan Bosanac wrote: > Hi, > > there have been some fixes in this area (transaction aborting) for the 5.3, > so may want to try 5.3-SNAPSHOT and see if it works for yo

Pending messages when producing/consuming on same topic

2009-02-17 Thread inmjs
Hi I am having a problem when producing and consuming on the same topic. It is a strange set of circumstances that produces this problem. I have a client which is a durable subscriber to a topic "X", and, on a separate connection, a producer for the same topic. The durable subscription has a

ActiveMQ-CPP 2.2.4 Released

2009-02-17 Thread Timothy Bish
Hi everyone, The ActiveMQ-CPP 2.2.4 release is now official! You can download the source distribution here: http://activemq.apache.org/cms/activemq-cpp-224-release.html This release offers several bug fixes for memory leaks found since the 2.2.3 release, see the download page for the complete lis

Re: Multiple Producers, single consumer

2009-02-17 Thread Dejan Bosanac
Hi, take a look at this article for more info on this topic http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.ne

Re: Severe performance hit upgrading to 5.2.0 from 5.1

2009-02-17 Thread Gary Tully
Seems odd, Are you using a transacted session? Could you post your code so we can give it a whirl? possibly attach it to a jira issue. 2009/2/17 hackingbear : > > Hi, any help on this? 5.2 shouldn't be a few times slower, but I can't find > out why. All the other configs are out-of-box defaults.

Re: XStream annotations for XML transformation

2009-02-17 Thread Dejan Bosanac
Hi Michael, We can inject the configured xstream the transformer will use. For example, for the SamplePojo used in tests we configure the xstream like this org.apache.activemq.transport.stomp.SamplePojo so it get properly annotated. I see now that they added autodetectAnnotation

Re: STOMP - transacted session

2009-02-17 Thread Dejan Bosanac
Hi Jochen, try using transactions using 5.3-SNAPSHOT, it should work. Take a look at this article for example http://cwiki.apache.org/confluence/display/ACTIVEMQ/How+do+I+unack+the+message+with+Stomp Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - h

Re: Correct STOMP headers for unsubscribe of durable consumers?

2009-02-17 Thread Dejan Bosanac
Hi Michael you should use activemq.subscriptionName for subscribe/unsubscribe and client-id for connect/disconnect frames. Take a look at StompTest.testDurableUnsub() for an example. Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.

Re: Messages rollback

2009-02-17 Thread Dejan Bosanac
Hi, there have been some fixes in this area (transaction aborting) for the 5.3, so may want to try 5.3-SNAPSHOT and see if it works for you http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/apache-activemq/5.3-SNAPSHOT/ I've also documented it a bit (with a working example

Re: Message PRIORITY

2009-02-17 Thread Luana87
Thank you for your response. Luana James.Strachan wrote: > > 2009/2/16 Luana87 : >> >> >> >> James.Strachan wrote: >>> >>> 2009/2/16 Luana87 : Hello, I'm starting to use ActiveMQ v5.2.0 and I need to prioritize messages sent from only one producer. I am wondering