Re: Pooled connection factory does not work

2016-04-11 Thread Michele
Hi, first of all thanks a lot for your support. I reset project configuration and it seems work fine as you can see from screenshot attached pooled-connection.png . I used prefetchSize=0 with this activemq.xml configur

Re: Pooled connection factory does not work

2016-04-09 Thread Tim Bain
Hopefully resolving the errors you see when setting the prefetch size will fix your problem. If not, let us know what the behavior is with a prefetch value of 1, 2, and 10, once that works. On Apr 8, 2016 9:28 AM, "Michele" wrote: > Hi Tim, > > exactly... According to http://camel.apache.org/jms

Re: Pooled connection factory does not work

2016-04-08 Thread Michele
Hi Tim, exactly... According to http://camel.apache.org/jms.html section Concurrent Consumin, we can configure concurrentConsumers option in one of the following ways: On the JmsComponent, On the endpoint URI or, By invoking setConcurrentConsumers() directly on the JmsEndpoint. However, I tried t

Re: Pooled connection factory does not work

2016-04-08 Thread Quinn Stevenson
Sorry Everyone - I missed that when reading the configs. Thanks for pointing that out Tim - the configuration does look right. > On Apr 7, 2016, at 10:00 PM, Tim Bain wrote: > > Although I've only used the string-based syntax (e.g. > from("jms:MyQueue?concurrentConsumers=10") ) to specify the n

Re: Pooled connection factory does not work

2016-04-07 Thread Tim Bain
Although I've only used the string-based syntax (e.g. from("jms:MyQueue?concurrentConsumers=10") ) to specify the number of concurrent consumers when I've used Camel, I assumed that specified in the XML DSL would have the same effect. On Thu, Apr 7, 2016 at 9:21 AM, Quinn Stevenson wrote: > Loo

Re: Pooled connection factory does not work

2016-04-07 Thread Quinn Stevenson
Looking at the Camel route, I only see once consumer on the queue - am I missing something? > On Apr 7, 2016, at 4:17 AM, Michele wrote: > > Hi Tim, > > sorry, but I'm a bit confused. > > My use case is to create a Camel Route that it is capable: > > 1. Read large number of lines in File (

Re: Pooled connection factory does not work

2016-04-07 Thread Tim Bain
Does increasing your prefetch buffer size as described in http://activemq.2283324.n4.nabble.com/Concurrent-consumers-td3041439.html resolve the problem? Tim On Thu, Apr 7, 2016 at 4:17 AM, Michele wrote: > Hi Tim, > > sorry, but I'm a bit confused. > > My use case is to create a Camel Route tha

Re: Pooled connection factory does not work

2016-04-07 Thread Michele
Hi Tim, sorry, but I'm a bit confused. My use case is to create a Camel Route that it is capable: 1. Read large number of lines in File (approx. 5) 2. Split, Process and store every line in AMQ (Simple hash map) 3. Retrieve message from queue and invoke with POST a Rest Service that is bottl

Re: Pooled connection factory does not work

2016-04-06 Thread Tim Bain
I have no idea what you're asking. What are you doing, what are you expecting to happen in response, and what's actually happening instead? Tim On Wed, Apr 6, 2016 at 11:21 AM, Michele wrote: > Hi everyone, > I work with jboss fuse 6.2.0 based on Apache camel and active mq. I > configured a po

Re: pooled connection factory

2007-09-19 Thread keneida
I'm sorry I wrote it little wrong. I can not receive form topic because the listener does not want to appear for activemq. When i use connectionfactory i can receive messages as a durable or not durable client. When using the pooled CF it shows as a false subscription -- View this message in cont

Re: pooled connection factory

2007-09-19 Thread James Strachan
On 9/19/07, keneida <[EMAIL PROTECTED]> wrote: > > Im using PCF im my config. When working with "server" part of my app i can > send messages to topics and queues and receive messages from queues. > It just does not want to receive messages form topic. > I found that PCF is made for sending only bu