Spring security documentation

2017-11-16 Thread Knut-HÃ¥vard Aksnes
Some of the examples in http://camel.apache.org/spring-security.html doesn't show up other doesn't format as they should.

Re: Spring security documentation

2017-11-16 Thread Andrea Cosentino
We are in the process of migrating the documentation to a new website. The official docs is now only in github https://github.com/apache/camel/blob/master/components/camel-spring-security/src/main/docs/spring-security.adoc There is an announce too in the homepage of camel site http://camel.apac

Camel: detect Kafka wrong IP

2017-11-16 Thread Schondorf, Yacov
I am configuring Kafka as a source in my RouteBuilder. My goal is to handle Kafka disconnection issues. My RouteBuilder is as follows: new RouteBuilder() { public void configure() { onException(Exception.class).process(exchange -> { final Exception exception = e

Re: Camel: detect Kafka wrong IP

2017-11-16 Thread Claus Ibsen
Hi This is expected. onException in the route builder only happens when you have a Camel exchange/message to route. And you dont have that because you cannot connect to Kafka. See for example the CiA2 book error handling chapter which talks about this, and how some Camel components allow to bridg

RE: Re: Camel: detect Kafka wrong IP

2017-11-16 Thread Schondorf, Yacov
Hi, Thanks for your reply! I don't have the CIA2 book (would love to buy it though). Is there an example online? -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Thursday, November 16, 2017 4:28 PM To: users@camel.apache.org Subject: EXTERNAL: Re: Camel: detect

Re: Re: Camel: detect Kafka wrong IP

2017-11-16 Thread Claus Ibsen
On Thu, Nov 16, 2017 at 3:33 PM, Schondorf, Yacov wrote: > Hi, > > Thanks for your reply! I don't have the CIA2 book (would love to buy it > though). Is there an example online? > You can ask your employer to buy it - knowledge is cheap when you have it all in a book. The book has source code wi

Re: Not able to publish new topic - MQTT

2017-11-16 Thread Claus Ibsen
Hi What version of Camel are you using? On Thu, Nov 16, 2017 at 5:49 AM, Vishnu Vardhan wrote: > Hi, > > I'm trying to use MQTT component for publishing a topic(custom) and > subscribe it back using camel. But when i try to publish message in a new > topic using mqtt, the message is sent throu

Re: using netty4 to set up a UDP client with a particular binding port

2017-11-16 Thread Claus Ibsen
Good question. Camel can only do what Netty can do, so you should first find out what is possible with Netty. If its possible then you can configure camel-netty in many ways, and if something is missing to set that port range, you are welcome to dive into the source code and provide a PR On Wed,

Re: Camel [2.19.3] + SpringBoot [1.5.6] fails executing two JUnit tests that succeed when run individually

2017-11-16 Thread Claus Ibsen
Hi If you want to stay on 2.19.x you may try 2.19.4 which could potentially also have the fix. On Wed, Nov 15, 2017 at 4:39 PM, Artur Jablonski wrote: > Sweet lord! This must be the fastest response ever... and yes indeed it > works with 2.20.1. > > Thank you Claus > > Best, > Artur > > > On Wed

Re: Camel [2.19.3] + SpringBoot [1.5.6] fails executing two JUnit tests that succeed when run individually

2017-11-16 Thread Artur Jablonski
Hey, Nope, I tried with 2.19.4 and it was failing in the same way as 2.19.3. We felt brave yesterday and moved to 2.20.1. What's the worst thing that can happen? :) On Thu, Nov 16, 2017 at 3:42 PM, Claus Ibsen wrote: > Hi > > If you want to stay on 2.19.x you may try 2.19.4 which could > pote

RE: Re: Re: Camel: detect Kafka wrong IP

2017-11-16 Thread Schondorf, Yacov
Will ask my employee to buy the book. I have studied the error handling page but found nothing that would help me resolve this issue. -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Thursday, November 16, 2017 4:38 PM To: users@camel.apache.org Subject: EXTERNAL

Re: Camel [2.19.3] + SpringBoot [1.5.6] fails executing two JUnit tests that succeed when run individually

2017-11-16 Thread Claus Ibsen
On Thu, Nov 16, 2017 at 3:49 PM, Artur Jablonski wrote: > Hey, > > Nope, I tried with 2.19.4 and it was failing in the same way as 2.19.3. We > felt brave yesterday and moved to 2.20.1. What's the worst thing that can > happen? :) > Yay you get a set of known bugs fixed and some new unknown added

Re: Configuring Two Contexts in Camel Blueprint - how to set ServletComponent 'servletName' property

2017-11-16 Thread Claus Ibsen
Hi Ah that is because they are ordered, eg as specified here in the model class https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/model/rest/RestConfigurationDefinition.java Btw you ought also to be able to set the servletName on the component-level as well via

Instrument camel connector or endpoints

2017-11-16 Thread Christine Vladic
Hello, How can we instrument if a connector (ex. JDBC or JMS or HTTP) used in a camel route is healthy or not? Our service is written using Camel Springboot. Thank you, Chris

Multiple instance of a camel service

2017-11-16 Thread Christine Vladic
Hi, I have a quartz camel service that invokes a REST API that returns a binary data. This service will be deployed in a clustered node thus multiple instances will invoke the same REST API and gets the same payload. Question, is there a camel pattern or component that can prevent instances

RE: Multiple instance of a camel service

2017-11-16 Thread Matthew Shaw
Hi, How is the binary data state persisted? My point being I don't think there would be a component in any implementation that would do what you're asking without a great deal of customisation for your process needs. Can you apply state to your binary data, then it doesn't matter what instance