Unable to set Camel Context Name

2019-09-25 Thread Mikael Andersson Wigander
In some of my applications, Spring Java, I get the default Camel context name “camel-1”. I have in my properties or yaml file the following: camel: name: State-Service springboot: name: State-Service I have other application with similar config working fine… M

Best approach to deploy camel code as standalone application

2019-09-25 Thread Jaiprakash Mewada
Hi Team, I am beginner in Apache Camel. I have ofbiz code running on different jvm. I want Camel code to be running on different jvm. I need to send the data from ofbiz to third party using camel's route. It looks like I need to run standalone application of Camel. Can someone please guide me, wh

Re: Why is camel-kafka-starter excluding (transitive) dependency to Kafka artifacts (i.e. kafka-clients)?

2019-09-25 Thread Claus Ibsen
Hi Oh it may be that spring boot comes with a set of -starter OOTB and camel prefer to use those. I assume there is a spring-boot-kafka dependency you can add which brings in the supported Kafka version for SB. On Mon, Sep 23, 2019 at 1:11 PM Erik Boye wrote: > > Hi, > > I am trying to figure o

Re: camel file component writing to persistent volume

2019-09-25 Thread Onder SEZGIN
yes i consider kubernetes though i am using OCP(locally to experiement a bit), my consideration was to mount a persistent volume which would be accessible from any pods in the cluster so that i can use that directory to share such a state of the application pods in the cluster. so plain file compon

Re: Best approach to deploy camel code as standalone application

2019-09-25 Thread Omar Al-Safi
The best way is to follow the documentation in this regards: https://camel.apache.org/manual/latest/faq/running-camel-standalone.html. And this is an example for a standalone Camel application: https://github.com/apache/camel/blob/master/examples/camel-example-debezium/src/main/java/org/apache/came

Re: Unable to set Camel Context Name

2019-09-25 Thread Claus Ibsen
Hi Hmm its a bit hard for us to help with so little information. However since you have a working app vs non-working then try to compare them. Are the similar how to bootstrap spring boot and Camel etc. Are you sure eg that yaml file is read. Maybe try to make a typo in the file, or some mistake o

Re: camel file component writing to persistent volume

2019-09-25 Thread Onder SEZGIN
ok. for reference this link helped me experiment locally. https://developers.redhat.com/blog/2017/04/07/adding-persistent-storage-to-the-container-development-kit-3-0/ fyi On Wed, Sep 25, 2019 at 1:54 PM Onder SEZGIN wrote: > yes i consider kubernetes though i am using OCP(locally to experieme

Re: Unable to set Camel Context Name

2019-09-25 Thread Mikael Andersson Wigander
Thx After some debugging I can’t see that CamelConfigurationProperties class is picking up any of my values set in the application.yml file. However when routes are configured I get values from property holders such as @Value and “(())”… I think it has to do with jasypt since it bootstraps the

Re: Unable to set Camel Context Name

2019-09-25 Thread Mikael Andersson Wigander
Is NOT picking up… damn auto correct > On 25 Sep 2019, at 14:23, Mikael Andersson Wigander > wrote: > > Thx > > After some debugging I can’t see that CamelConfigurationProperties class is > picking up any of my values set in the application.yml file. > > However when routes are configured

Re: Best approach to deploy camel code as standalone application

2019-09-25 Thread Jaiprakash Mewada
Thanks Omar for quick response. I have already checked the documentation. But I am not able to understand that how can I call the code of Camel from ofbiz which is running on different jvm. Assume, I have method add() which is having the camel code. Is there any way to call this method from OFBiz

Re: Best approach to deploy camel code as standalone application

2019-09-25 Thread Andrea Cosentino
Have you seen this project? https://github.com/bibryam/ofbiz-camel Il giorno mer 25 set 2019 alle ore 14:50 Jaiprakash Mewada < jaiprakash.mew...@hotwaxsystems.com> ha scritto: > Thanks Omar for quick response. > > I have already checked the documentation. But I am not able to understand > that h

still get timeout exception after an message has been put in DLQ

2019-09-25 Thread Damien Nicolas
Hello, I have an exception handler on a route of queue. If I got an exception, I want to put the exchange in a DLQ and stop totally the exchange. But, I put the message in a DLQ, after x seconds I got an ExchangeTimedOutException. I want to get rid of this. How can i do that? Here is a sample of

Re: Best approach to deploy camel code as standalone application

2019-09-25 Thread Jaiprakash Mewada
Yes, I saw this example. With the help of this, we can integrate Camel code with OFBiz but it will run on same jvm. I want to run OFBiz and Camel code separately on different jvm. On Wed, 25 Sep 2019, 7:36 p.m. Andrea Cosentino, wrote: > Have you seen this project? https://github.com/bibryam/of

Re: Best approach to deploy camel code as standalone application

2019-09-25 Thread Claus Ibsen
On Wed, Sep 25, 2019 at 6:24 PM Jaiprakash Mewada wrote: > > Yes, I saw this example. With the help of this, we can integrate Camel code > with OFBiz but it will run on same jvm. > > I want to run OFBiz and Camel code separately on different jvm. > Then you need some remote protocol, whether it's

Re: Best approach to deploy camel code as standalone application

2019-09-25 Thread Jean-Baptiste Onofré
Hi, As side note, you can run Camel/Ofbiz applications (all together) in Karaf standalone/static distribution: http://blog.nanthrax.net/?p=893 Regards JB On 25/09/2019 12:39, Jaiprakash Mewada wrote: > Hi Team, > > I am beginner in Apache Camel. I have ofbiz code running on different jvm. > I

EndpointHelper.matchEndpoint doesn't normalize the pattern parameter

2019-09-25 Thread Stig Døssing
Hi, I'm trying to use NotifyBuilder for a test, and am running into a matching issue regarding the "from" method. My route looks like From( "sjms2:queue:my-queue-name?transacted=true&consumerCount=1") //processing here I use NotifyBuilder like this: NotifyBuilder notifyBuilder = new NotifyBuil

Re: EndpointHelper.matchEndpoint doesn't normalize the pattern parameter

2019-09-25 Thread Claus Ibsen
Hi Its a pattern and not an endpoint uri, eg you can use sjms* to match all jsms components etc. Why do you want to match on the query parameters, why not just say sjms2://queue:my-queue-name* On Thu, Sep 26, 2019 at 7:43 AM Stig Døssing wrote: > > Hi, > > I'm trying to use NotifyBuilder for