Re: setPropertyPlaceholderLocations for apache camel main

2017-06-23 Thread Claus Ibsen
Hi Thanks I logged a ticket https://issues.apache.org/jira/browse/CAMEL-11441 On Wed, Jun 21, 2017 at 10:16 PM, Wilson MacGyver wrote: > I follow > > https://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html > > and use > > main.setPropertyPlaceholderLocations("example.prop

Re: microprofile/wildfly-swarm + camel-cdi

2017-06-23 Thread Zoran Regvart
Hi Dimitry, I think we just might be missing XML namespace declaration for the element. I've created an issue (CAMEL-11445[1]) and a pull request[2]. If you can please test or provide feedback :) Also I think you want to checkout wildfly-camel[3] project. zoran [1] https://issues.apache.org/ji

https ssl config with authorization bearer

2017-06-23 Thread Mary Cochran
Does anyone have a suggestion for how I can use camel to call at https endpoint and configure the call with a jks file and also use authorization bearer? It works with basic auth for http4s which i use to get the token, but the use of the token with setHeader("Authorization", "Bearer ") always giv

RE: microprofile/wildfly-swarm + camel-cdi

2017-06-23 Thread Shultz, Dmitry
Zoran, I merged the change to the 2.19.x branch and assembled the app with the changes. There are still some warnings in the log though: 2017-06-23 17:10:57,840 WARN [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0012: Warning while parsing vfs:/D:/my-app-1.0.war/ WEB-INF/lib/cam

Re: setPropertyPlaceholderLocations for apache camel main

2017-06-23 Thread Wilson MacGyver
Thank you! On Fri, Jun 23, 2017 at 10:00 AM Claus Ibsen wrote: > Hi > > Thanks I logged a ticket > https://issues.apache.org/jira/browse/CAMEL-11441 > > On Wed, Jun 21, 2017 at 10:16 PM, Wilson MacGyver > wrote: > > I follow > > > > > https://camel.apache.org/running-camel-standalone-and-have-it

Using camel how to get the last message with the latest offset

2017-06-23 Thread Asiri Liyana Arachchi
Hi all, When setting seekTo in configuration to "end" and then calling the consumer.receive, it will output null because consumer already starting from the end. I want to get the last message. Can that be done using camel? import org.apache.camel.ConsumerTemplate; import org.apache.camel.Ex