Re: Camel CXFRS + Swagger integration

2018-02-26 Thread Okello Nelson
On Mon, Feb 26, 2018 at 12:54 PM, Okello Nelson 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 through a URL. > >

Camel CXFRS + Swagger integration

2018-02-26 Thread Okello Nelson
f you think it's 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

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

2013-06-18 Thread Okello Nelson
ining 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 wrote: > You can use the inflight repository to know how many in-flight > messages a route has. > > http://camel.apache.org/maven/current/c

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

2013-06-03 Thread Okello Nelson
nce here will be appreciated very much. BTW: I've also posted this question at stackoverflow.com ( stackoverflow.com/questions/16898646/exchanges-count-at-camel-endpoint). On May 30, 2013 4:48 PM, "Okello Nelson" wrote: > Hi Guys, > > I'm wondering how to stop an Acti

Re: Camel Spring 2.11 + JDK 1.7_u17

2013-05-30 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 wrote:

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

2013-05-30 Thread Okello Nelson
ion, please assist. Kind Regards, Okello Nelson.

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 wrote: > Hi > > Thanks for sharing your solution. > > On Tue, May 28, 2013 at 9:30 AM, Okello Nelson > wrote: > > My Solution: > > == > > > > Guys, I managed to sort out my issue

Re: Exchanges Aggregation for batch loading to database

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

Re: Exchanges Aggregation for batch loading to database

2013-05-27 Thread Okello Nelson
: Failed to build body from 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 wrote: > Hi Guys, > > I have the following Java DSL: > > from(queuePr

Exchanges Aggregation for batch loading to database

2013-05-27 Thread Okello Nelson
#x27;t seem to reach this bean. In ActiveMQ, I'm seeing the error "Unknown message type [org.apache.activemq.command.ActiveMQMessage]"... I'm not sure what I'm doing wrong. Any assistance will be appreciated very much. 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 wrote: > Hi > > Yeah give them an id in the routes, then that is used in JMX > > > > If you use Java DSL then there is a .id you can use > > .

Giving Processors meaningful names

2013-04-18 Thread Okello Nelson
locating them. Any help will be appreciated very much. Thanks in advance. Kind Regards, Okello Nelson.

Re: Block a Queue until all exchanges are received

2013-04-17 Thread Okello Nelson
the next route, etc etc. Kind Regards, Okello Nelson. On Wed, Apr 17, 2013 at 12:31 PM, Okello Nelson wrote: > Thanks a lot, Claus. > > Kind Regards, > Okello Nelson. > > > On Wed, Apr 17, 2013 at 11:07 AM, Claus Ibsen wrote: > >> Hi >> >> You can contro

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 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 u

Block a Queue until all exchanges are received

2013-04-16 Thread Okello Nelson
changes of the "...ParsingQ". However, I want exchanges at "...ParsingQ" to be consumed only when all the files have been loaded into the queue. Is there a way I can implement this? Thanks a lot in advance. Kind Regards, Okello Nelson.

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

2013-04-14 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 wrote: > No this is not possible. > > And I think pos is defi

Bindy: Specify value of @DataField annotation using property placeholders

2013-04-14 Thread Okello Nelson
takes the value of "${field1.pos}" as specified in an external properties file, instead of specifying a value directly in the model class. Is this possible? Kind Regards, Okello Nelson.

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 wrote: > Thanks loads, Cla

Re: How to implement concurrent route processing

2013-04-13 Thread Okello Nelson
try many years ago - note 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 > wrote: > > Hi Christian, > > > > I think the problem was with my file s

Re: How to implement concurrent route processing

2013-04-12 Thread Okello Nelson
t; Sent from a mobile device > Am 12.04.2013 15:21 schrieb "Okello Nelson" : > > > 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 > concurrent

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 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,

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 wrote: > Hi > > Do you mean its the loop that calls the pro

Re: Accessing CamelLoopIndex in route

2013-04-12 Thread Okello Nelson
the length of the "fileTypes" array) 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 wrote:

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 wrote: > Hi > > The code in the configure() method of a RouteBuilder is only executed > once, w

How to implement concurrent route processing

2013-04-12 Thread Okello Nelson
d JPA endpoints, 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-11 Thread Okello Nelson
- > 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 cn.oke...@gmail.com

Accessing CamelLoopIndex in route

2013-04-11 Thread Okello Nelson
g resolved. Is there something that I'm doing wrong? Thanks in advance. Kind Regards, Okello Nelson.