Re: moveFailed is failing when streaming is on

2013-08-11 Thread Claus Ibsen
Can you try setting shareUnitOfWork=true on the splitter. On Sat, Aug 10, 2013 at 12:48 PM, atluris wrote: > Hi, > > I am new to camel. My requirement is to read a huge file (> 100 KB) and > process it. If process fails due to some reason, file should be moved to > error folder. since it is a hug

Re: Camel Performance

2013-08-11 Thread Claus Ibsen
The simple/bean language has been performance improved from Camel 2.11 onwards, so try upgrading and give that a test. On Sun, Aug 11, 2013 at 5:30 AM, salemi wrote: > 2.10.4 > > > > - > Alireza Salemi > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Performance

Re: Bug with 'addEventNotifier' - fires two 'exchange sent' events for each Exchange sent.

2013-08-11 Thread Claus Ibsen
The producer template also emits the events, so that is why you see more. On Sun, Aug 11, 2013 at 4:02 PM, pmcb55 wrote: > Hi, > > I'm using Camel 2.11.1 and the > *context.getManagementStrategy().addEventNotifier(new EventNotifierSupport() > { ... });* to gather event timings for my Camel applic

Re: JDBC Connection Setup

2013-08-11 Thread Claus Ibsen
Hi You can take a look at the sql-example http://camel.apache.org/sql-example.html On Sun, Aug 11, 2013 at 11:46 PM, milltj wrote: > I have been searching the web and have been unable to find out how to > configure the datasource when I am trying to use JDBC to connect to a MySQL > database. I

Re: ServiceMix and Camel how to realize the process can be configured

2013-08-11 Thread yiwang
At present the four bundles of foreign service based on HTTP url way (in the future will provide services in web service way). If a camel route ACTS as a bundle of similar scheduling function.This bundle will have contact with the four bundles. If I the camel route is configured with a-->b-->c-->d,

Re: ServiceMix and Camel how to realize the process can be configured

2013-08-11 Thread Willem jiang
First I want to ask some questions about your use case. Are these four bundles provide the services which your camel route can access? If so, you can use camel to define the routes to implement you business logic. If not, you need to tell us how to access the services of these four bundle. As

Re: Newbie Pls help: ETL Example Modification Doesn't work

2013-08-11 Thread Willem jiang
Hi , You don't use the rightly. Please change the route like this: -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.

Re: JDBC Connection Setup

2013-08-11 Thread Willem jiang
If you are using Spring, you can define a data source connection within Spring configuration, and use it directly with the url jdbc:SOURCE_NAME. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blog

JDBC Connection Setup

2013-08-11 Thread milltj
I have been searching the web and have been unable to find out how to configure the datasource when I am trying to use JDBC to connect to a MySQL database. I added the following dependencies to my project: org.apache.camel camel-jdbc 2.11.1 mysql mysql

Re: Newbie Pls help: ETL Example Modification Doesn't work

2013-08-11 Thread bmadhekar
here is my code, Ticket is openJpa annotated class created in drools knowledge session, this class has two one-to-many relationships defined. Do I need Xml annotations? http://camel.apache.org/schema/spring";>

ServiceMix and Camel how to realize the process can be configured

2013-08-11 Thread yiwang
hello everybody: I ask everybody a question, I now do a logistics project.This project on OSGI platform development and deployment, is in the OSGI bundle as the basic unit, I now have four applications namely four bundles (harvest notice, delivery, acceptance, storage, in accordance with th

Bug with 'addEventNotifier' - fires two 'exchange sent' events for each Exchange sent.

2013-08-11 Thread pmcb55
Hi, I'm using Camel 2.11.1 and the *context.getManagementStrategy().addEventNotifier(new EventNotifierSupport() { ... });* to gather event timings for my Camel application. Everything works fine except I get *two* events fired for every Exchange sent to my trivial test route. The following test c

Re: Newbie Pls help: ETL Example Modification Doesn't work

2013-08-11 Thread Christian Müller
It looks like you made a mistake in your DSL. Can you share your code? Best, Christian Am 11.08.2013 08:43 schrieb "bmadhekar" : > I tried extending ETL example with Complex class which has child elements, > I > get error in convetBodyTo... does any body know Camel supports parent child > relatio