Questions about oncurrent consumers and activemq

2013-11-06 Thread Lothar Werzinger
hangePattern: InOnly, BodyType: String, Body: Hello 27] Thanks in advance! -- Lothar Werzinger Principal Architect Tradescape, Inc. - Enabling Efficient Digital Marketplaces +1-650-931-6719 (direct) +1-800-697-6068 (main) Ext. 116 lot...@tradescape.biz<https://mail.google.com/mail/?v

Re: Questions about oncurrent consumers and activemq

2013-11-06 Thread Lothar Werzinger
before starting the route. Id be interested in the results. I pre-populated the queue with 30 messages. The route was the only consumer accessing the queue at the time and it was started after the queue had all entries in it. Lothar Werzinger Sent from a mobile device. -- This message and any

Concurrent consumption with activemq does not work properly (Was: Questions about concurrent consumers and activemq)

2013-11-08 Thread Lothar Werzinger
What's really peculiar is that the behavior of the consumer changes if a producer connects and produces to the route. As you can see in the attached log file it starts out with the consumer running and the log entries are about 2 seconds apart (the fake processing time for each message). Then the p

How can trigger scanning a dynamic directory

2013-11-26 Thread Lothar Werzinger
input component it automatically becomes an output component, so the "direct approach" from(...).to(file://...).to(...) obviously does not work. How can I create such a route? Thanks in advance! -- Lothar Werzinger Principal Architect Tradescape, Inc. - Enabling Efficient Digital Market

Re: How can trigger scanning a dynamic directory

2013-11-26 Thread Lothar Werzinger
>} > >}) > > > > > > The route could send an empty message when all the files are processed, > > allowing you to detect that and stop it as shown here > > > > http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html > > > &

Re: How can trigger scanning a dynamic directory

2013-11-27 Thread Lothar Werzinger
us Ibsen > - > Red Hat, Inc. > Email: cib...@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > -- Lothar Werzinger Principal Architect Tradescape, Inc. - Enabling Efficient Digita

Can I write a route that reads an arbitrary database table and stores it in a file?

2014-01-03 Thread Lothar Werzinger
such a route possible? If yes, can you please point me in the right direction? Thanks in advance! -- Lothar Werzinger Principal Architect Tradescape, Inc. - Enabling Efficient Digital Marketplaces +1-650-931-6719 (direct) +1-800-697-6068 (main) Ext. 116 lot...@tradescape.biz http

Re: Can I write a route that reads an arbitrary database table and stores it in a file?

2014-01-06 Thread Lothar Werzinger
he > JSONifiable data structure here... > } > }).marshal(new JsonDataFormat()).to("file:foo"); > > On Fri, Jan 3, 2014 at 8:34 PM, Lothar Werzinger > wrote: > > Hi, > > > > I have the requirement to write a route that listens on a web service

Re: Can I write a route that reads an arbitrary database table and stores it in a file?

2014-01-07 Thread Lothar Werzinger
to be generic and can not know beforehand what db connections the actual test will need to use. Cheers. > > [1] http://camel.apache.org/recipient-list.html > [2] http://camel.apache.org/sql-component.html > [3] http://camel.apache.org/jdbc > > -- > Henryk Konsek > http://he