How to add camel-bindy to osgi project - very urgent help required

2018-05-11 Thread Anton Hughes
Im trying to use camel-bindy in an OSGi project. However I get the following error: Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.8:assembly (karaf-assembly) on project karaf2-cxf-rest: Unable to build assembly: Unable to resolve root: missing requirement [root] osgi.iden

Advice: how to shut down route after specified time

2015-12-04 Thread Anton Hughes
Hello My use case: I would like to shut down a route after a specified amount of time, and the the timer should be reset-able. I have a web application that receives messages from a jms queue, and pushes these to web clients. If the client has been inactive then we should shut down that route. If

Re: Swagger error

2015-10-21 Thread Anton Hughes
FYI - this issue has been fixed in https://github.com/wildfly-extras/wildfly-camel/issues/923 - thanks goes to the Wildfly-camel team. On Sat, Oct 17, 2015 at 2:09 PM, Anton Hughes wrote: > > On Sat, Oct 17, 2015 at 1:58 PM, Claus Ibsen > wrote: > >> Ah I think they pla

Re: Swagger error

2015-10-17 Thread Anton Hughes
On Sat, Oct 17, 2015 at 1:58 PM, Claus Ibsen wrote: > Ah I think they plan on support camel-swagger-java in the near future. Unless I am mistaken, it is already supported: https://github.com/wildfly-extras/wildfly-camel/issues/895

Re: Swagger error

2015-10-17 Thread Anton Hughes
HI Claus On Sat, Oct 17, 2015 at 8:17 AM, Claus Ibsen wrote: > Can you tell us some more, are you using camel-swagger (with scala) or > the new camel-swagger-java ? > I am using the camel-swagger-java. > > And the error looks like classloading issue in widlfly. So it depends > how you deploy and

Swagger error

2015-10-16 Thread Anton Hughes
Hi I recently upgraded to Camel 2.16, and when I try to call the swagger documentation for my camel rest service in wildfly 9.1, I get the following error: 22:19:53,900 ERROR [io.undertow.request] (default task-29) UT005023: Exception handling request to /indicator-service/api-docs: java.lang.NoC

Re: 2.16 estimated release date?

2015-10-04 Thread Anton Hughes
On Sun, Oct 4, 2015 at 11:46 AM, Claus Ibsen wrote: > http://camel.465427.n5.nabble.com/VOTE-Camel-2-16-0-td5772119.html > > A new RC is being built tomorrow for a new VOTE period. Thanks Claus

2.16 estimated release date?

2015-10-04 Thread Anton Hughes
Hello When is 2.16 expected to be released? Im interested to try some of the new improvements. Thanks

Re: Camel Kafka - java.lang.ClassCastException: java.lang.String cannot be cast to [B

2015-06-14 Thread Anton Hughes
On Sun, Jun 14, 2015 at 11:19 PM, Anton Hughes wrote: > I had a mistake in my route. > > Now however I am getting this error. I can see that this class is included > in the maven dependency for kafka camel. > > Anyone know how to solve this > ah - it was a spelling mistake. Thanks

Re: Camel Kafka - java.lang.ClassCastException: java.lang.String cannot be cast to [B

2015-06-14 Thread Anton Hughes
2.14.1.jar:2.14.1] ... 86 more On Sun, Jun 14, 2015 at 10:40 PM, Anton Hughes wrote: > Hi > > I'm trying to use the Camel Kafka producer, but am getting the below > error. > My camel route looks like this: > > > .to("kafka:mykafkabroker:9092??topic=testtopic&am

Camel Kafka - java.lang.ClassCastException: java.lang.String cannot be cast to [B

2015-06-14 Thread Anton Hughes
Hi I'm trying to use the Camel Kafka producer, but am getting the below error. My camel route looks like this: .to("kafka:mykafkabroker:9092??topic=testtopic&serializerClass=kafka.serializer.StringEncoder"); Ive seen others who have the same error, and have resolved this by adding the "serialize

Re: Vramel or modifying Camel

2015-05-18 Thread Anton Hughes
On Mon, May 18, 2015 at 3:58 PM, Henryk Konsek wrote: > The threading model is in camel-core [1]. But I doubt if it can be easily > replaced with the different implementation. > Thanks Henryk What issues/challenges do you see in this task?

Re: Vramel or modifying Camel

2015-05-18 Thread Anton Hughes
Can anyone direct me to where/how I can abstract the camel thread model so that it can work with other async models such as Vertx. Thanks On Mon, May 11, 2015 at 1:59 PM, Anton Hughes wrote: > > On Mon, May 11, 2015 at 4:55 AM, Willem Jiang > wrote: > >> the Vramel way is li

Re: InOut MEP

2015-05-13 Thread Anton Hughes
Please take a look at http://camel.apache.org/content-based-router.html I think this will help. On Wed, May 13, 2015 at 9:57 PM, akoufoudakis wrote: > Dear all! > > I am sure that this questions has been already asked. Apologies that you > have to look at it again. > > I have a very trivial rou

Re: Vramel or modifying Camel

2015-05-11 Thread Anton Hughes
On Mon, May 11, 2015 at 4:55 AM, Willem Jiang wrote: > the Vramel way is like reimplement the Camel DSL on base of vert.x API, > which need to lots of work to reimplement the Camel core functions. Yes, this is what I am interested. I am interested in abstracting the Camel threading model, so th

Re: metadata for components, processors etc

2015-05-04 Thread Anton Hughes
Hi Claus Can you share the link to the jira? This sounds like a very interesting feature. On Fri, May 1, 2015 at 1:39 PM, Claus Ibsen wrote: > Hi > > No the components / endpoints dont provide meta-data what java types > and data formats they support. However we may get there in the longer > ru

Re: Reactive Programming with Camel Components

2015-05-03 Thread Anton Hughes
You might find these of interest: http://camel.apache.org/rx.html http://camel.apache.org/async.html On Thu, Apr 16, 2015 at 4:24 PM, Naira & Kobo wrote: > I have an open source enterprise middleware application that is expected to > process quite a huge number of transactions daily. My current

Vramel or modifying Camel

2015-05-02 Thread Anton Hughes
Hi I am currently developing a vert.x project, and am looking for how to integrate Camel. I recently came by https://github.com/wired-mind/Vramel - a port of Camel to Vertx. >From cursory look into Vramel, it seems to be mostly identical to Camel. As I am not deeply familiar with the camel core

Examples of sticky load balancing

2015-01-25 Thread Anton Hughes
Hello I am interesting in learning - and possibly using - the Sticky Load Balancer. Are there any examples of this? The documentation gives examples of most of the others, but not this one. Thanks

Re: Logging throttled messages?

2015-01-25 Thread Anton Hughes
at 10:34 PM, Anton Hughes wrote: > > On Sat, Jan 24, 2015 at 9:42 PM, Claus Ibsen > wrote: > >> You can use the rejectExecution option and then use an error handler >> to catch that exception and then handle and log it. >> http://camel.apache.org/throttler >> > > Thanks Claus >

Re: Logging throttled messages?

2015-01-24 Thread Anton Hughes
On Sat, Jan 24, 2015 at 9:42 PM, Claus Ibsen wrote: > You can use the rejectExecution option and then use an error handler > to catch that exception and then handle and log it. > http://camel.apache.org/throttler > Thanks Claus

Re: Logging throttled messages?

2015-01-23 Thread Anton Hughes
On Sat, Jan 24, 2015 at 1:20 AM, Claus Ibsen wrote: > log how? Hi Claus My use-case is, my application sometimes gets overloaded due to too many incoming messages. In order to maintain uptime and performance I would like to throttle these. Specifically, i would like to discard - not delay - an

Re: REST DSL - including documents

2015-01-22 Thread Anton Hughes
On Fri, Jan 23, 2015 at 6:58 AM, Tim Dudgeon wrote: > I'm successfully using REST DSL to serve up some simple services and want > to include some simple HTML docs to describe and illustrate the services > provided and prefer to keep this as > simple as possible. > I just have a process started by

Re: Logging throttled messages?

2015-01-22 Thread Anton Hughes
On Fri, Jan 23, 2015 at 12:30 AM, Claus Ibsen wrote: > What do you mean by "log throttled messages"? Do you want for example > to know if a message was hold back by the throttler or not? Or do you > want the throttler to do some kind of logging if it holds back a > message and how would you confi

Logging throttled messages?

2015-01-21 Thread Anton Hughes
Hi We are looking at using the throttler, but would like to know if it is possible to log throttled messages. Does anyone know if that is possible? Thanks