ScalaRouteBuilder with CDI

2016-02-29 Thread Raphael Parree
Hi, I am porting some of my camel demos to CDI (for FIS/Fabric8). The RouteBuilder has been deprecated a while back in favour of the ScalaRouteBuilder which requires a constructor value for the CamelContext. I can only get it to work with the deprecated RouteBuilder as i am unsuccessful so far inj

Re: Camel-Braintree

2016-02-29 Thread Claus Ibsen
Build from the source yourself using a quick build http://camel.apache.org/building On Tue, Mar 1, 2016 at 3:20 AM, Ranx wrote: > I noticed there's a snapshot version of the camel-braintree as of 2.17 but do > not see it in the snapshot repo. Where would I find that? > > Brad > > > > -- > View t

Re: Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread Wolfram Huesken
Hello Sashika, thanks for the hint! I added hawtio-embedded to my dependencies ('io.hawt:hawtio-embedded:2.0.0') and tried to start it, but now I have two new problems :D 1. To not clutter my main method, I wanted to bootstrap hawt.io in "beforeApplicationStart": @Bean CamelContextConfigu

Re: How to insert Date String as date in MongoDB

2016-02-29 Thread yogu13
Apologies for delayed response! can u try having it as Date instead of String? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5778457.html Sent from the Camel - Users mailing list archive at Nabble.com

Re: Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread Wolfram Huesken
Hello Sashika, thanks for the hint! I added hawtio-embedded to my dependencies ('io.hawt:hawtio-embedded:1.4.61') and tried to start it, but now I have two new problems :D 1. To not clutter my main method, I wanted to bootstrap hawt.io in "beforeApplicationStart": @Bean CamelContextConfig

Re: Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread Sashika
This is all I wanted to run Hawt.io embedded org.apache.camel.Main main = new org.apache.camel.Main(); main.enableHangupSupport(); main.addRouteBuilder(new MyRouteBuilder()); main.start(); System.out.println(“Camel starting”); Main hawtMain = new Main(); hawtMain.setWarLocation(“C:\\Users\\*

Re: Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread Wolfram Huesken
I know that I can run it standalone, my goal is to run it embedded in a camel application. Maybe have a Spring bean for configuration or something like this. This should be pretty common to do this... On Mon, Feb 29, 2016, at 05:48 PM, jgoggins wrote: > The easiest way I found was to download jolo

Camel-Braintree

2016-02-29 Thread Ranx
I noticed there's a snapshot version of the camel-braintree as of 2.17 but do not see it in the snapshot repo. Where would I find that? Brad -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Braintree-tp5778454.html Sent from the Camel - Users mailing list archive at Na

Re: Apache Camel EIP to process batch of messages identifying those which can be filtered

2016-02-29 Thread Quinn Stevenson
How about a simple splitter that removes the duplicates? For example, a route like this http://camel.apache.org/schema/spring";> ${body} Could use a Splitter like this public class RemoveDuplica

Re: HelloWorld Example - apache Camel

2016-02-29 Thread Gregoire Autric
Hi Ghazi, I think you have got a little trouble with sfl4j implementation. You have two impl (slf4j-simple and slf4j-log4j) If you want use log4j impl you have to write a log4j.properties correctly and put it into your classpath. BTW, the best source for all Camel exemples is the official reposit

IdempotentConsumer usage

2016-02-29 Thread jgoggins
Hi, I'm looking at the IdempotentConsumer to prevent duplicates. http://camel.apache.org/idempotent-consumer.html I have a camel endpoint that sees a list of objects come in. The list can contain between 1 and N internal objects. I need to prevent the internal object been a duplicate for a time

Re: Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread jgoggins
The easiest way I found was to download jolokia-jvm-1.3.3-agent.jar from https://jolokia.org/download.html Download hawtio jar from https://oss.sonatype.org/content/repositories/public/io/hawt/hawtio-app/1.4.61/hawtio-app-1.4.61.jar Run the following command to start hawtio java -jar hawtio-app

Approaches for distribution of messages in a queue

2016-02-29 Thread John D. Ament
Hi, I was wondering about opinions from others on approaches. My requirement at a very high level, is to provide a REST API for pulling messages from a queue in bulk, and at a later point (usually within a minute or two) acknowledging that message. REST is a preferred approach since the data can

Re: VirtualTopic message acknowledgment/confirmation

2016-02-29 Thread Quinn Stevenson
Have you tried the other acknowledgement modes? It sounds like you’re using auto acknowledgment. You could try setting up transactions as well. In either case, Camel will acknowledge the message once the exchange completes - so you don’t do that explicitly. > On Feb 24, 2016, at 4:37 PM, ha

Re: MongoDB Jackson Date Mapping Option

2016-02-29 Thread gramanero
I am wondering if there is a good option for getting ISODates or any of the other built-in MongoDB types to work within the context of Spring. For example, given a very simple document: /{ "time" : ISODate("2016-02-19T17:37:57.673+") }/ How might one get the ISODate to properly work with came

Re: Bean instance is null. OGNL bean expressions requires bean instances.

2016-02-29 Thread Alex Soto
Thank you Claus, Best regards, Alex soto > On Feb 28, 2016, at 1:30 AM, Claus Ibsen wrote: > > I logged a ticket > https://issues.apache.org/jira/browse/CAMEL-9653 > > On Sat, Feb 27, 2016 at 7:25 AM, Claus Ibsen wrote: >> It was not designed primary to call utility methods, but methods on

Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread Wolfram Huesken
Hello together, I want to deploy my Camel application together with an embedded hawt.io for monitoring, but I cannot find anything on how to do that. I want to use jetty as container and added the following dependencies to my build.gradle: compile 'org.springframework.boot:spring-boot-starter:1.

HelloWorld Example - apache Camel

2016-02-29 Thread Ghazi
Hello everybody ! I am a new user of apache camel . I am working with ubuntu + my IDE is eclipse luna . I tried to run the example presented in this link : http://www.javavillage.in/apache-camel-basic-example.php I have fixed the depend

HelloWorld Example - apache Camel

2016-02-29 Thread Ghazi
Hello everybody ! I am a new user of apache camel . I am working with ubuntu + my IDE is eclipse luna . I tried to run the example presented in this link : http://www.javavillage.in/apache-camel-basic-example.php http://www.javavillage.in/apache-camel-basic-example.php

HelloWorld Example - apache Camel

2016-02-29 Thread Ghazi
Hello everybody ! I am a new user of apache camel . I am working with ubuntu + my IDE is eclipse luna . I tried to run the example presented in this link : http://www.javavillage.in/apache-camel-basic-example.php http://www.javavillage.in/apache-camel-basic-example.php