Accessing CamelLoopIndex in route

2013-04-11 Thread Okello Nelson
: + classesBaseDir + / + fileTypes[Integer.valueOf(${CamelLoopIndex})]); I'm trying to use the loop index with an array to create a content based router. However, the ${CamelLoopIndex} seems like its not being resolved. Is there something that I'm doing wrong? Thanks in advance. Kind Regards, Okello Nelson.

Re: Accessing CamelLoopIndex in route

2013-04-12 Thread Okello Nelson
://camel.apache.org/simple.html Best, Christian -- View this message in context: http://camel.465427.n5.nabble.com/Accessing-CamelLoopIndex-in-route-tp5730719p5730731.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Kind Regards, Okello Nelson +254 722 137 826

How to implement concurrent route processing

2013-04-12 Thread Okello Nelson
, with possible additional endpoints later. Any ideas on how I can implement this will be appreciated very much. Kind Regards, Okello Nelson.

Re: Accessing CamelLoopIndex in route

2013-04-12 Thread Okello Nelson
about, and I guess I have to test my code further. I'll do so and post back my findings. Once again, thanks. Kind Regards, Okello Nelson. On Fri, Apr 12, 2013 at 11:28 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi The code in the configure() method of a RouteBuilder is only executed once

Re: Accessing CamelLoopIndex in route

2013-04-12 Thread Okello Nelson
) is the process() method of the keFileTypeNameService bean, which I assume is still safe. Additional insight will be appreciated very much. Kind Regards, Okello Nelson. On Fri, Apr 12, 2013 at 4:52 PM, Okello Nelson cn.oke...@gmail.com wrote: Hi Claus, Thanks a lot for the insight. My objective

Re: Accessing CamelLoopIndex in route

2013-04-12 Thread Okello Nelson
Hi Claus, Yes, it's the loop calling the process X times. I implemented it that but I wasn't sure its the best way to do it. Thanks a lot. Kind Regards, Okello Nelson. On Fri, Apr 12, 2013 at 5:26 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Do you mean its the loop that calls

Re: Accessing CamelLoopIndex in route

2013-04-12 Thread Okello Nelson
, and other options but they couldn't fit my usecase. Kind Regards, Okello Nelson. On Fri, Apr 12, 2013 at 5:34 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Well use the loop in the route if its sort make sense to have it there, as it kinda stand out in the route, so people seeing the route, can

Re: How to implement concurrent route processing

2013-04-12 Thread Okello Nelson
from a mobile device Am 12.04.2013 15:21 schrieb Okello Nelson cn.oke...@gmail.com: Hi Guys, I'm currently working on a project in which I have several routes. To improve throughput, I'd like to have all the routes executing concurrently. What I've observed so far is that when one route

Re: How to implement concurrent route processing

2013-04-13 Thread Okello Nelson
back then threads was named async http://www.davsclaus.com/2009/05/on-road-to-camel-20-concurrency-with.html On Sat, Apr 13, 2013 at 6:41 AM, Okello Nelson cn.oke...@gmail.com wrote: Hi Christian, I think the problem was with my file sizes. When i started splitting the files into smaller

Re: How to implement concurrent route processing

2013-04-14 Thread Okello Nelson
Hi Claus, The blog entry was extremely useful. I'm using Camel 2.10.4, and I'm assuming async was renamed to threads in this version. Thanks a lot. Kind Regards, Okello Nelson. On Sat, Apr 13, 2013 at 11:26 AM, Okello Nelson cn.oke...@gmail.com wrote: Thanks loads, Claus. I'm checking

Bindy: Specify value of @DataField annotation using property placeholders

2013-04-15 Thread Okello Nelson
in an external properties file, instead of specifying a value directly in the model class. Is this possible? Kind Regards, Okello Nelson.

Re: Bindy: Specify value of @DataField annotation using property placeholders

2013-04-15 Thread Okello Nelson
Hi Claus, Thanks a lot for the clarification. I think such a feature would be handy, and I hope we can have it in subsequent versions of Camel. Kind Regards, Okello Nelson. On Mon, Apr 15, 2013 at 9:38 AM, Claus Ibsen claus.ib...@gmail.com wrote: No this is not possible. And I think pos

Block a Queue until all exchanges are received

2013-04-16 Thread Okello Nelson
loaded into the queue. Is there a way I can implement this? Thanks a lot in advance. Kind Regards, Okello Nelson.

Re: Block a Queue until all exchanges are received

2013-04-17 Thread Okello Nelson
Thanks a lot, Claus. Kind Regards, Okello Nelson. On Wed, Apr 17, 2013 at 11:07 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi You can control the other route for example as, eg to start|stop it etc http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html Or in Camel 2.11 use

Re: Block a Queue until all exchanges are received

2013-04-17 Thread Okello Nelson
route, etc etc. Kind Regards, Okello Nelson. On Wed, Apr 17, 2013 at 12:31 PM, Okello Nelson cn.oke...@gmail.com wrote: Thanks a lot, Claus. Kind Regards, Okello Nelson. On Wed, Apr 17, 2013 at 11:07 AM, Claus Ibsen claus.ib...@gmail.comwrote: Hi You can control the other route

Giving Processors meaningful names

2013-04-18 Thread Okello Nelson
. Kind Regards, Okello Nelson.

Re: Giving Processors meaningful names

2013-04-18 Thread Okello Nelson
Hi Claus, Thanks a lot. I use Java DSL. Kind Regards, Okello Nelson. On Thu, Apr 18, 2013 at 11:16 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Yeah give them an id in the routes, then that is used in JMX process ref=myProcessor id=dudeThisIsMyName/ If you use Java DSL

Exchanges Aggregation for batch loading to database

2013-05-27 Thread Okello Nelson
]... I'm not sure what I'm doing wrong. Any assistance will be appreciated very much. Kind Regards, Okello Nelson.

Re: Exchanges Aggregation for batch loading to database

2013-05-27 Thread Okello Nelson
content. Serializable class not available to broker. Reason: java.lang.ClassNotFoundException: com.package.models.bc.ke.MyEntityClass On Mon, May 27, 2013 at 3:08 PM, Okello Nelson cn.oke...@gmail.com wrote: Hi Guys, I have the following Java DSL: from(queuePrefix + fileType + _ValidQ

Re: Exchanges Aggregation for batch loading to database

2013-05-28 Thread Okello Nelson
, and the exchange contained a list of my objects. Nothing like Exchange.GROUPED_EXCHANGES. Just the exchange.getBody(ListMyModelClass.class). Kind Regards, Okello Nelson. On Mon, May 27, 2013 at 5:18 PM, Okello Nelson cn.oke...@gmail.com wrote: Hi Guys, I've been trying to sort this issue

Re: Exchanges Aggregation for batch loading to database

2013-05-28 Thread Okello Nelson
Any time, Claus. On Tue, May 28, 2013 at 10:38 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Thanks for sharing your solution. On Tue, May 28, 2013 at 9:30 AM, Okello Nelson cn.oke...@gmail.com wrote: My Solution: == Guys, I managed to sort out my issue in the following

ActiveMQ Component: Stop route when no more messages are being received

2013-05-30 Thread Okello Nelson
Regards, Okello Nelson.

Re: Camel Spring 2.11 + JDK 1.7_u17

2013-05-31 Thread Okello Nelson
Hi, I'm using the 64-bit JDK of the same version. I'm also using Camel 2.11.0 and Spring 3.2.0.RELEASE, and I'm not experiencing any issues. In my opinion, I think you need to countercheck your setup. Kind Regards, Okello Nelson. On Thu, May 30, 2013 at 7:01 PM, Jose jagavi...@gmail.com wrote

Re:ActiveMQ Component: Stop route when no more messages are being received

2013-06-03 Thread Okello Nelson
posted this question at stackoverflow.com ( stackoverflow.com/questions/16898646/exchanges-count-at-camel-endpoint). On May 30, 2013 4:48 PM, Okello Nelson cn.oke...@gmail.com wrote: Hi Guys, I'm wondering how to stop an ActiveMQ route and start another one when it's nolonger receiving

Re: ActiveMQ Component: Stop route when no more messages are being received

2013-06-18 Thread Okello Nelson
the stats to get count of messages processed so far by the route. Kind Regards, Okello Nelson. On Tue, Jun 4, 2013 at 12:17 PM, Claus Ibsen claus.ib...@gmail.com wrote: You can use the inflight repository to know how many in-flight messages a route has. http://camel.apache.org/maven/current

Camel CXFRS + Swagger integration

2018-02-26 Thread Okello Nelson
not. In all the threads I've gone through, I can't see where this code is meant to be placed. Is it supposed to be in the class where the routes are defined? If so, is it supposed to come before or after route definition. Are there any other configuration I need to make for it to work? -- Kind Regards,

Re: Camel CXFRS + Swagger integration

2018-02-26 Thread Okello Nelson
On Mon, Feb 26, 2018 at 12:54 PM, Okello Nelson <cn.oke...@gmail.com> wrote: > I've read in a number of places that the way to integrate Swagger with > Camel CXFRS is by using `Swagger2Feature`. I already have a working Camel > CXFRS service whose API docs I'd like to access throug