Production deploy options - standalone jvm vs war multi-homed jetty

2014-12-30 Thread Christopher Love
Hi all First of this is an awesome project, I am always touting how I can write four lines of code, and do SO much. Background: We are currently running in production tomcat with separate wars for different camel projects. One of the projects is quickly becoming a monster where we will need to

Re: Rate limit producer to match consumer

2014-12-30 Thread Taariq Levack
How about a content based router that checks the file size and forwards large messages to one endpoint and smaller ones to another? Both are throttled or limited appropriately, and forward to your existing endpoint where the work is done. That last endpoint should have more consumers than either

Re: [SQL COMPONENTE] CamelSqlGeneratedKeyRows has a bug?

2014-12-30 Thread Christian Müller
Which Camel version do you use? Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/642 On Mon, Dec 29, 2014 at 12

Re: [SQL COMPONENT] mysql transaction

2014-12-30 Thread Christian Müller
Have a look at [1]. from("direct:start") .transacted("PROPAGATION_REQUIRED") .to("sql:INSERT ...") .to("sql:INSERT ..."); [1] https://github.com/muellerc/camel-in-transaction/blob/master/src/test/java/org/apache/cmueller/camel/samples/camelone/jdbc/JdbcTransactionSampleTest.java Best

Re: Split with Aggregation when throw Exception issue

2014-12-30 Thread Guillaume
After various attempts, I managed to implement a workaround for the problem by adding a try/catch/finally - it turns out the the finally clause is executed. I encountered a further issue with the finally clause, as only the first processor was invoked. After a bit of debug, I found that the Pipelin

Default permissions for camel file endpoint auto-created folder

2014-12-30 Thread idexmi
Hello, I've problem when creating new route with Camel File endpoint. Let's say I have route: The directory /opt/camel/ is empty and don't have Test folder. After route is deploeyd camel File component auto create folder Test with default permissions drwxr-xr-x. The problem is that I nee

Re: Split with Aggregation when throw Exception issue

2014-12-30 Thread Guillaume
I seems to face Paolo's issue, on camel v2.12.1 and 2.14.1 and built minimal harness to demonstrate it. In this test, the "processItem" sub route handles the hard-coded exception. When the exchange goes back inside the split of the main route, I would have expected the .log("${body}") to be invoke

Servlet component ignores "Content-Type" Header

2014-12-30 Thread IgnatiusReilly
Hi, I am using the Servlet component to expose a URL that consumes HTTP Requests. When I tested using the RESTClient extension for Firefox everything went fine. However, it is failing when receiving the request from the service that will handle this task. I get the following error: Cannot read r

Re: CXF jaxrs custome exception mapper with camel

2014-12-30 Thread neil2014
I am using camel 2.12.4. I am still facing the same issue. @vrahul - were you able to resolve the issue after taking the 2.12.X/2.13.X jars? -- View this message in context: http://camel.465427.n5.nabble.com/CXF-jaxrs-custome-exception-mapper-with-camel-tp5749882p5761170.html Sent from the Came

Rate limit producer to match consumer

2014-12-30 Thread Nathan Jones
We are trying to improve the responsiveness of some bulk message processes such that a large batch does not flood a queue and prevent subsequent smaller batches getting through in a timely fashion. For example, a job to import millions of records from CSV may take an hour but a smaller job to i

Issue in marshal with aggregation

2014-12-30 Thread theGhost
I have routes that have following definition. public class HttpRouteBuilder extends RouteBuilder { ... @Override public void configure() throws Exception { from(ICallbackServiceManager.ORIGIN_ENDPOINT) .filter(PredicateBuilder.and(

Mail-Component: HTML body is sent twice.

2014-12-30 Thread sabri.bousselmi
I'm using camel 2.13.1 version. the case is the following:Mail configuration is pre-configured in exchange header before reaching SMTP endpoint. i did a simple test in a separate environnement to reproduce the issue.---